openwrt/target/linux/bcm27xx/patches-6.1/950-0144-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch

21 lines
687 B
Diff
Raw Normal View History

From 2c900b1e5b80c4f55e7a5812d6fc1830742d2f31 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 17 Sep 2018 17:31:18 +0100
Subject: [PATCH] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880
with MEDIA_SUBDRV_AUTOSELECT
---
drivers/media/spi/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/media/spi/Kconfig
+++ b/drivers/media/spi/Kconfig
@@ -9,6 +9,7 @@ menu "Media SPI Adapters"
config CXD2880_SPI_DRV
tristate "Sony CXD2880 SPI support"
depends on DVB_CORE && SPI
+ select DVB_CXD2880 if MEDIA_SUBDRV_AUTOSELECT
default m if !MEDIA_SUBDRV_AUTOSELECT
help
Choose if you would like to have SPI interface support for Sony CXD2880.