bmi3xx: loop querying the written calibrated value
bmi3xx: loop querying the written calibrated value

The critical path of writing the calibration value to
the delay for writing calibrated data will be added up to 240ms, and
this will exceed the EC/AP SPI communication timeout 200ms.

This CL loops the querying the result for an early return.

BUG=b:237953471
TEST=echo -n "0" \
> /sys/bus/iio/devices/iio\:device3/in_anglvel_x_calibbias
and doesn't complain the timeout.
BRANCH=none

Change-Id: Ic14e54c53d8bd5c0d83bd1f3eac20a17c98a1bdc
Signed-off-by: Eric Yilun Lin <2f2733c7206ea2b76bd2db1905cc5e8a75841c48@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3750539
Reviewed-by: Gwendal Grignou <190c5a5edfcf62e0246559bf31fa7548674de3ad@chromium.org>
Commit-Queue: Gwendal Grignou <190c5a5edfcf62e0246559bf31fa7548674de3ad@chromium.org>
Tested-by: Gwendal Grignou <190c5a5edfcf62e0246559bf31fa7548674de3ad@chromium.org>
Reviewed-by: Huanhuan Liu <d4eba5c2401d026540e157bd2f6839d7aa5cb7e3@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec