openwrt/target/linux/bcm27xx/patches-5.10/950-0085-cxd2880-CXD2880_SP...

21 lines
689 B
Diff

From 5156d25449f1a76a72be090a595ee7e25cb74bc6 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
@@ -25,6 +25,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.