OSDN Git Service

[media] Kconfig: do not select SPI bus on sub-driver auto-select
authorAntti Palosaari <crope@iki.fi>
Fri, 22 Aug 2014 16:45:05 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 4 Sep 2014 15:18:49 +0000 (12:18 -0300)
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>
drivers/media/Kconfig

index f60bad4..3c89fcb 100644 (file)
@@ -182,7 +182,6 @@ config MEDIA_SUBDRV_AUTOSELECT
        depends on HAS_IOMEM
        select I2C
        select I2C_MUX
-       select SPI
        default y
        help
          By default, a media driver auto-selects all possible ancillary