Commit 52241a08 authored by Linus Walleij's avatar Linus Walleij Committed by Jonathan Cameron

iio: imu: inv_mpu6050: Select I2C_MUX again

commit f7072198 ("iio: imu: Fix inv_mpu6050 dependencies")
undid the explicit selection of I2C_MUX previously
done by the driver, because I2C_MUX implicitly depended
on HAS_IOMEM.

However commit 93d710a6 ("i2c: mux: fix up dependencies")
cleared up the situation properly and drivers that need
to select I2C_MUX can now do so again.

It makes a lot of sense for a driver to select the driver
infrastructure it needs so restore the natural order of
things.

Cc: Richard Weinberger <richard@nod.at>
Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent b0ec7a44
...@@ -10,7 +10,8 @@ config INV_MPU6050_IIO ...@@ -10,7 +10,8 @@ config INV_MPU6050_IIO
config INV_MPU6050_I2C config INV_MPU6050_I2C
tristate "Invensense MPU6050 devices (I2C)" tristate "Invensense MPU6050 devices (I2C)"
depends on I2C_MUX depends on I2C
select I2C_MUX
select INV_MPU6050_IIO select INV_MPU6050_IIO
select REGMAP_I2C select REGMAP_I2C
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment