capp: Fix the capp recovery timeout comparison
capp: Fix the capp recovery timeout comparison

The current capp recovery timeout control loop in
do_capp_recovery_scoms() uses a wrong comparison for return value of
tb_compare(). This may cause do_capp_recovery_scoms() to report an
timeout earlier than the 168ms stipulated time.

The patch fixes this by updating the loop timeout control branch in
do_capp_recovery_scoms() to use the correct enum tb_cmpval.

Cc: Stable #6.0+
Fixes: 09b853cae0aa0("capi: Poll Err/Status register during CAPP
recovery")
Reported-by: Frederic Barrat <c90240987c583ac0802fbeb88cb1684edc683e18@linux.vnet.ibm.com>
Signed-off-by: Vaibhav Jain <e78384dfaa97bf0f3945c4da4075af8ac33ade0a@linux.ibm.com>
Reviewed-by: Frederic Barrat <c90240987c583ac0802fbeb88cb1684edc683e18@linux.vnet.ibm.com>
Reviewed-by: Christophe Lombard <44dbcc6389d1dbda026ebe91652384c23cf90057@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <efc2d7c347a094a6ec1d918179e819039044c564@au1.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.ibm.com>

open-power/skiboot,qemu/skiboot,open-power/skiboot,stewart-ibm/skiboot,shenki/skiboot,legoater/skiboot,legoater/skiboot,qemu/skiboot,shenki/skiboot,shenki/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,stewart-ibm/skiboot,shenki/skiboot,legoater/skiboot,stewart-ibm/skiboot,legoater/skiboot,qemu/skiboot,qemu/skiboot,open-power/skiboot,qemu/skiboot