diff options
authorAntti Palosaari <crope@iki.fi>2014-08-22 13:45:05 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 12:18:49 -0300
commit7d24c514e8e06c0a2d90f0735fdf8810016a6fea (patch)
parent6a03dc92cc2edfa2257502557b9f714893987383 (diff)
[media] Kconfig: do not select SPI bus on sub-driver auto-select
We should not select SPI bus when sub-driver auto-select is selected. That option is meant for auto-selecting all possible ancillary drivers used for selected board driver. Ancillary drivers should define needed dependencies itself. I2C and I2C_MUX are still selected here for a reason described on commit 347f7a3763601d7b466898d1f10080b7083ac4a3 Reverts commit e4462ffc1602d9df21c00a0381dca9080474e27a Reported-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index f60bad491eb6..3c89fcbc621e 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -182,7 +182,6 @@ config MEDIA_SUBDRV_AUTOSELECT
depends on HAS_IOMEM
select I2C
select I2C_MUX
- select SPI
default y
By default, a media driver auto-selects all possible ancillary

Privacy Policy