iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
The driver should disable regulators when fails at regmap_update_bits(). Signed-off-by:Zheyu Ma <zheyuma97@gmail.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Cc: <Stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220510092431.1711284-1-zheyuma97@gmail.com Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
parent
6f6bd759
Please register or sign in to comment