linux/drivers/input/touchscreen
Necip Fazil Yildiran 5c602c3908 Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER
[ Upstream commit 676650d007 ]

When TOUCHSCREEN_ADC is enabled and IIO_BUFFER is disabled, it results
in the following Kbuild warning:

WARNING: unmet direct dependencies detected for IIO_BUFFER_CB
  Depends on [n]: IIO [=y] && IIO_BUFFER [=n]
  Selected by [y]:
  - TOUCHSCREEN_ADC [=y] && !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && IIO [=y]

The reason is that TOUCHSCREEN_ADC selects IIO_BUFFER_CB without depending
on or selecting IIO_BUFFER while IIO_BUFFER_CB depends on IIO_BUFFER. This
can also fail building the kernel.

Honor the kconfig dependency to remove unmet direct dependency warnings
and avoid any potential build failures.

Fixes: aa132ffb6b ("input: touchscreen: resistive-adc-touch: add generic resistive ADC touchscreen")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20201102221504.541279-1-fazilyildiran@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-24 13:27:21 +01:00
..
88pm860x-ts.c
ad7877.c
ad7879-i2c.c
ad7879-spi.c
ad7879.c
ad7879.h
ads7846.c
ar1021_i2c.c
atmel_mxt_ts.c Input: atmel_mxt_ts - disable IRQ across suspend 2020-01-04 19:12:36 +01:00
auo-pixcir-ts.c
bcm_iproc_tsc.c
bu21013_ts.c
bu21029_ts.c
chipone_icn8318.c
chipone_icn8505.c
colibri-vf50-ts.c
cy8ctmg110_ts.c
cyttsp_core.c
cyttsp_core.h
cyttsp_i2c_common.c
cyttsp_i2c.c
cyttsp_spi.c
cyttsp4_core.c Input: cyttsp4_core - fix use after free bug 2019-12-13 08:51:03 +01:00
cyttsp4_core.h
cyttsp4_i2c.c
cyttsp4_spi.c
da9034-ts.c
da9052_tsi.c
dynapro.c
edt-ft5x06.c Input: edt-ft5x06 - work around first register access error 2020-02-24 08:34:46 +01:00
eeti_ts.c
egalax_ts_serial.c
egalax_ts.c
ektf2127.c
elants_i2c.c
elo.c
exc3000.c
fsl-imx25-tcq.c
fujitsu_ts.c
goodix.c Input: goodix - add upside-down quirk for Teclast X89 tablet 2019-12-13 08:52:39 +01:00
gunze.c
hampshire.c
hideep.c
hp680_ts_input.c
htcpen.c
ili210x.c
imx6ul_tsc.c Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume() 2020-10-30 10:38:23 +01:00
inexio.c
ipaq-micro-ts.c
jornada720_ts.c
Kconfig Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER 2020-11-24 13:27:21 +01:00
lpc32xx_ts.c
mainstone-wm97xx.c
Makefile
max11801_ts.c
mc13783_ts.c
mcs5000_ts.c
melfas_mip4.c
migor_ts.c
mk712.c
mms114.c Input: mms114 - add extra compatible for mms345l 2020-07-22 09:32:04 +02:00
mtouch.c
mxs-lradc-ts.c
of_touchscreen.c
pcap_ts.c
penmount.c
pixcir_i2c_ts.c
raydium_i2c_ts.c Input: raydium_i2c_ts - fix error codes in raydium_i2c_boot_trigger() 2020-04-02 15:28:16 +02:00
resistive-adc-touch.c
rohm_bu21023.c
s3c2410_ts.c
s6sy761.c
silead.c Input: silead - try firmware reload after unsuccessful resume 2019-11-24 08:20:28 +01:00
sis_i2c.c
st1232.c
stmfts.c Input: stmfts - fix a & vs && typo 2020-10-30 10:38:23 +01:00
stmpe-ts.c
sun4i-ts.c Input: sun4i-ts - add a check for devm_thermal_zone_of_sensor_register 2020-01-29 16:43:20 +01:00
sur40.c Input: sur40 - fix interface sanity checks 2020-01-29 16:43:20 +01:00
surface3_spi.c
sx8654.c
ti_am335x_tsc.c
touchit213.c
touchright.c
touchwin.c
tps6507x-ts.c
ts4800-ts.c
tsc40.c
tsc200x-core.c
tsc200x-core.h
tsc2004.c
tsc2005.c
tsc2007_core.c
tsc2007_iio.c
tsc2007.h
ucb1400_ts.c
usbtouchscreen.c Input: usbtouchscreen - add support for BonXeon TP 2020-06-03 08:19:31 +02:00
w90p910_ts.c
wacom_i2c.c
wacom_w8001.c
wdt87xx_i2c.c
wm97xx-core.c
wm831x-ts.c
wm9705.c
wm9712.c
wm9713.c
zet6223.c
zforce_ts.c
zylonite-wm97xx.c