You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: accel: bma400: Ensure VDDIO is enable defore reading the chip ID.
The regulator enables were after the check on the chip variant, which was
very unlikely to return a correct value when not powered.
Presumably all the device anyone is testing on have a regulator that
is already powered up when this code runs for reasons beyond the scope
of this driver. Move the read call down a few lines.
Fixes: 3cf7ded ("iio: accel: bma400: basic regulator support")
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Dan Robertson <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
0 commit comments