[v7,1/3] input: touchscreen: TOUCHSCREEN_SUN4I depends on !SUN4I_GPADC

Message ID 20161103101601.24529-2-quentin.schulz@free-electrons.com
State New
Headers show

Commit Message

Quentin Schulz Nov. 3, 2016, 10:15 a.m.
SUN4I_GPADC and TOUCHSCREEN_SUN4I are incompatible (both are drivers
for Allwinner SoCs' ADC). This makes sure TOUCHSCREEN_SUN4I isn't
enabled while SUN4I_GPADC is enabled.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

---

added in v7

 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Dmitry Torokhov Nov. 9, 2016, 12:20 a.m. | #1
On Thu, Nov 03, 2016 at 11:15:59AM +0100, Quentin Schulz wrote:
> SUN4I_GPADC and TOUCHSCREEN_SUN4I are incompatible (both are drivers

> for Allwinner SoCs' ADC). This makes sure TOUCHSCREEN_SUN4I isn't

> enabled while SUN4I_GPADC is enabled.

> 

> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>


Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>


Please merge with SUN4I_GPADC driver patch.

> ---

> 

> added in v7

> 

>  drivers/input/touchscreen/Kconfig | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig

> index efca013..c618cb9 100644

> --- a/drivers/input/touchscreen/Kconfig

> +++ b/drivers/input/touchscreen/Kconfig

> @@ -1120,6 +1120,7 @@ config TOUCHSCREEN_SUN4I

>  	depends on ARCH_SUNXI || COMPILE_TEST

>  	depends on HWMON

>  	depends on THERMAL || !THERMAL_OF

> +	depends on !SUN4I_GPADC

>  	help

>  	  This selects support for the resistive touchscreen controller

>  	  found on Allwinner sunxi SoCs.

> -- 

> 2.9.3

> 


-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index efca013..c618cb9 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -1120,6 +1120,7 @@  config TOUCHSCREEN_SUN4I
 	depends on ARCH_SUNXI || COMPILE_TEST
 	depends on HWMON
 	depends on THERMAL || !THERMAL_OF
+	depends on !SUN4I_GPADC
 	help
 	  This selects support for the resistive touchscreen controller
 	  found on Allwinner sunxi SoCs.