Input: Enable WM97xx touchscreen sub-drivers by default
Subsystems (2)
PATCH 1/1 Input: Enable WM97xx touchscreen sub-drivers by default
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the driver is built is for it to support no hardware. This is suboptimal and leads to problems like distribution kernels shipping a non-functional driver.
Change the default to support all controllers and update the help text to reflect this.
--- drivers/input/touchscreen/Kconfig | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-)
drivers/input/touchscreen/Kconfig +9 -12
@@ -237,29 +237,26 @@ config TOUCHSCREEN_WM97XX config TOUCHSCREEN_WM9705 bool "WM9705 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9705 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics + WM9705 touchscreen controller. config TOUCHSCREEN_WM9712 bool "WM9712 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9712 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics + WM9712 touchscreen controller. config TOUCHSCREEN_WM9713 bool "WM9713 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9713 touchscreen - controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics + WM9713 touchscreen controller. config TOUCHSCREEN_WM97XX_MAINSTONE tristate "WM97xx Mainstone accelerated touch"
Signature · 1 line
1.5.6.3
PATCH 1/1 Input: Enable WM97xx touchscreen sub-drivers by default
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the driver is built is for it to support no hardware. This is suboptimal and leads to problems like distribution kernels shipping a non-functional driver.
Change the default to support all controllers and update the help text to reflect this.
---
Resubmit, after proofreading.
drivers/input/touchscreen/Kconfig | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-)
drivers/input/touchscreen/Kconfig +9 -12
@@ -237,29 +237,26 @@ config TOUCHSCREEN_WM97XX config TOUCHSCREEN_WM9705 bool "WM9705 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9705 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here to enable support for the Wolfson Microelectronics + WM9705 touchscreen controller. config TOUCHSCREEN_WM9712 bool "WM9712 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9712 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here to enable support for the Wolfson Microelectronics + WM9712 touchscreen controller. config TOUCHSCREEN_WM9713 bool "WM9713 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9713 touchscreen - controller connected to your system. - - If unsure, say N. + Say Y here to enable support for the Wolfson Microelectronics + WM9713 touchscreen controller. config TOUCHSCREEN_WM97XX_MAINSTONE tristate "WM97xx Mainstone accelerated touch"
Signature · 1 line
1.5.6.3
Quoted 18 lines · Mark Brown
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the driver is built is for it to support no hardware. This is suboptimal and leads to problems like distribution kernels shipping a non-functional driver.
Change the default to support all controllers and update the help text to reflect this.
Signed-off-by Mark Brown <[email protected]>--- drivers/input/touchscreen/Kconfig | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-)drivers/input/touchscreen/Kconfig +0
-0
drivers/input/touchscreen/Kconfig config TOUCHSCREEN_WM97XX · line 242
Quoted 10 lines
drivers/input/touchscreen/Kconfig +2
-4@@ -237,29 +237,26 @@ config TOUCHSCREEN_WM97XX config TOUCHSCREEN_WM9705 bool "WM9705 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9705 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics
Say Y here to enable?
drivers/input/touchscreen/Kconfig config TOUCHSCREEN_WM97XX · line 250
Quoted 12 lines
drivers/input/touchscreen/Kconfig +3
-4+ WM9705 touchscreen controller. config TOUCHSCREEN_WM9712 bool "WM9712 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9712 - touchscreen controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics
dito
drivers/input/touchscreen/Kconfig config TOUCHSCREEN_WM97XX · line 258
Quoted 12 lines
drivers/input/touchscreen/Kconfig +3
-4+ WM9712 touchscreen controller. config TOUCHSCREEN_WM9713 bool "WM9713 Touchscreen interface support" depends on TOUCHSCREEN_WM97XX + default y help - Say Y here if you have a Wolfson Microelectronics WM9713 touchscreen - controller connected to your system. - - If unsure, say N. + Say Y here if to enable support for the Wolfson Microelectronics
dito
Quoted 7 lines
drivers/input/touchscreen/Kconfig +1
-1+ WM9713 touchscreen controller. config TOUCHSCREEN_WM97XX_MAINSTONE tristate "WM97xx Mainstone accelerated touch" --1.5.6.3
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
regards
Philipp
Quoted 5 lines · On Thu, 24 Jul 2008 14:41:07 +0100 Mark Brown…
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the driver is built is for it to support no hardware. This is suboptimal and leads to problems like distribution kernels shipping a non-functional driver.
this isn't normally how things are done; Linux is on a "off unless selected or unless it breaks booting" policy nowadays...
(and distributions don't follow "default" anyway, so don't worry about that part)
Signature · 3 lines
If you want to reach me at my work email, use [email protected] For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 7 lines · Arjan van de Ven
Quoted 2 lines · Mark Brown
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the
this isn't normally how things are done; Linux is on a "off unless selected or unless it breaks booting" policy nowadays...
These options only be visible if the user has chosen to build the WM97xx touchscreen driver which does the default thing already. Within the context of the driver these options are of the broken boot variety since without at least one of them being enabled the driver will do nothing except waste resources.
I really don't think it's sensible for the default configuration of the driver to produce something totally non-functional.
Quoted 2 lines
(and distributions don't follow "default" anyway, so don't worry about that part)
This change is a direct result of Ubuntu enabling the driver with all the controllers compiled out. This seems like a completely reasonable thing for them to do - nothing in Kconfig suggests that it is mandatory to enable at least one of the options and the existing default and help text both suggest that it should be turned off.
Dmitry Torokhov
maintainerQuoted 18 lines · Mark Brown
Quoted 7 lines · Arjan van de Ven
Quoted 2 lines · Mark Brown
Currently the support for each WM97xx touchscreen model is compiled out by default, meaning that the default configuration when the
this isn't normally how things are done; Linux is on a "off unless selected or unless it breaks booting" policy nowadays...
These options only be visible if the user has chosen to build the WM97xx touchscreen driver which does the default thing already. Within the context of the driver these options are of the broken boot variety since without at least one of them being enabled the driver will do nothing except waste resources.
I really don't think it's sensible for the default configuration of the driver to produce something totally non-functional.
Quoted 8 lines
Quoted 2 lines
(and distributions don't follow "default" anyway, so don't worry about that part)
This change is a direct result of Ubuntu enabling the driver with all the controllers compiled out. This seems like a completely reasonable thing for them to do - nothing in
Kconfigsuggests that it is mandatory to enable at least one of the options and the existing default and help text both suggest that it should be turned off.
I agree with Mark - since the core driver is disabled by default we don't burden users who do not want it. However enabling the main option should produce working driver and people who want to save space in their custom kernels can disable unneeded sub-options.
Will apply.
Signature · 1 line
Dmitry