Skip to contentSkip to conversation

sound: Kconfig: pedantic formatting

PATCH New Enrico Weigelt, metux IT consult 1 participant 1 message Mar 11, 2019

Subsystems (10)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: Kconfig: pedantic formatting

Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up.

---
 sound/arm/Kconfig              |   2 +-
 sound/core/Kconfig             |  28 +++++-----
 sound/firewire/Kconfig         | 122 ++++++++++++++++++++---------------------
 sound/hda/Kconfig              |   4 +-
 sound/isa/Kconfig              |  27 +++++----
 sound/mips/Kconfig             |  15 +++--
 sound/parisc/Kconfig           |   2 +-
 sound/pci/Kconfig              |   4 +-
 sound/pcmcia/Kconfig           |   3 +-
 sound/ppc/Kconfig              |   2 +-
 sound/sh/Kconfig               |   3 +-
 sound/soc/Kconfig              |   5 +-
 sound/soc/amd/Kconfig          |   8 +--
 sound/soc/cirrus/Kconfig       |  14 ++---
 sound/soc/codecs/Kconfig       |  60 ++++++++++----------
 sound/soc/dwc/Kconfig          |  15 +++--
 sound/soc/fsl/Kconfig          |   8 +--
 sound/soc/generic/Kconfig      |   2 +-
 sound/soc/intel/Kconfig        |   2 +-
 sound/soc/intel/boards/Kconfig |  82 +++++++++++++--------------
 sound/soc/jz4740/Kconfig       |   2 +-
 sound/soc/mxs/Kconfig          |   3 +-
 sound/soc/pxa/Kconfig          |  29 +++++-----
 sound/soc/samsung/Kconfig      |   8 +--
 sound/soc/zte/Kconfig          |  12 ++--
 sound/sparc/Kconfig            |   2 +-
 sound/spi/Kconfig              |   3 +-
 sound/usb/Kconfig              |  47 ++++++++--------
 sound/x86/Kconfig              |   4 +-
 29 files changed, 254 insertions(+), 264 deletions(-)
sound/arm/Kconfig +1 -1
index 2886773..6bc3428 100644
@@ -27,7 +27,7 @@ config SND_PXA2XX_AC97
 	  Say Y or M if you want to support any AC97 codec attached to
 	  the PXA2xx AC97 interface.
 
-endif	# SND_ARM
+endif # SND_ARM
 
 config SND_PXA2XX_LIB
 	tristate
sound/core/Kconfig +14 -14
index 63b3ef9..1b28ecb 100644
@@ -71,11 +71,11 @@ config SND_PCM_OSS
 config SND_PCM_OSS_PLUGINS
 	bool "OSS PCM (digital audio) API - Include plugin system"
 	depends on SND_PCM_OSS
-        default y
+	default y
 	help
-          If you disable this option, the ALSA's OSS PCM API will not
-          support conversion of channels, formats and rates. It will
-          behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
+	  If you disable this option, the ALSA's OSS PCM API will not
+	  support conversion of channels, formats and rates. It will
+	  behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
 
 config SND_PCM_TIMER
 	bool "PCM timer interface" if EXPERT
@@ -127,13 +127,13 @@ config SND_SUPPORT_OLD_API
 	  or older).
 
 config SND_PROC_FS
-        bool "Sound Proc FS Support" if EXPERT
-        depends on PROC_FS
-        default y
-        help
-          Say 'N' to disable Sound proc FS, which may reduce code size about
-          9KB on x86_64 platform.
-          If unsure say Y.
+	bool "Sound Proc FS Support" if EXPERT
+	depends on PROC_FS
+	default y
+	help
+	  Say 'N' to disable Sound proc FS, which may reduce code size about
+	  9KB on x86_64 platform.
+	  If unsure say Y.
 
 config SND_VERBOSE_PROCFS
 	bool "Verbose procfs contents"
@@ -141,8 +141,8 @@ config SND_VERBOSE_PROCFS
 	default y
 	help
 	  Say Y here to include code for verbose procfs contents (provides
-          useful information to developers when a problem occurs).  On the
-          other side, it makes the ALSA subsystem larger.
+	  useful information to developers when a problem occurs).  On the
+	  other side, it makes the ALSA subsystem larger.
 
 config SND_VERBOSE_PRINTK
 	bool "Verbose printk"
@@ -163,7 +163,7 @@ config SND_DEBUG_VERBOSE
 	depends on SND_DEBUG
 	help
 	  Say Y here to enable extra-verbose debugging messages.
-	  
+
 	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
 	  So, say Y only if you are ready to be annoyed.
 
sound/firewire/Kconfig +61 -61

154 lines not on this page · raw message

sound/hda/Kconfig +2 -2
index 2d90e11..003f232 100644
@@ -13,8 +13,8 @@ config SND_HDA_I915
 	select SND_HDA_COMPONENT
 
 config SND_HDA_EXT_CORE
-       tristate
-       select SND_HDA_CORE
+	tristate
+	select SND_HDA_CORE
 
 config SND_HDA_PREALLOC_SIZE
 	int "Pre-allocated buffer size for HD-audio driver"
sound/isa/Kconfig +13 -14
index d7db1ee..5ff4340 100644
@@ -1,22 +1,22 @@
 # ALSA ISA drivers
 
 config SND_WSS_LIB
-        tristate
-        select SND_PCM
+	tristate
+	select SND_PCM
 	select SND_TIMER
 
 config SND_SB_COMMON
-        tristate
+	tristate
 
 config SND_SB8_DSP
-        tristate
-        select SND_PCM
-        select SND_SB_COMMON
+	tristate
+	select SND_PCM
+	select SND_SB_COMMON
 
 config SND_SB16_DSP
-        tristate
-        select SND_PCM
-        select SND_SB_COMMON
+	tristate
+	select SND_PCM
+	select SND_SB_COMMON
 
 menuconfig SND_ISA
 	bool "ISA sound devices"
@@ -58,7 +58,7 @@ config SND_AD1848
 	help
 	  Say Y here to include support for AD1848 (Analog Devices) or
 	  CS4248 (Cirrus Logic - Crystal Semiconductors) chips.
-	  
+
 	  For newer chips from Cirrus Logic, use the CS4231 or CS4232+
 	  drivers.
 
@@ -343,7 +343,7 @@ config SND_MIRO
 	select SND_MPU401_UART
 	select SND_PCM
 	help
-	  Say 'Y' or 'M' to include support for Miro miroSOUND PCM1 pro, 
+	  Say 'Y' or 'M' to include support for Miro miroSOUND PCM1 pro,
 	  miroSOUND PCM12 and miroSOUND PCM20 Radio soundcards.
 
 	  To compile this driver as a module, choose M here: the module
@@ -408,7 +408,7 @@ config SND_SSCAPE
 	select SND_WSS_LIB
 	select FW_LOADER
 	help
-	  Say Y here to include support for Ensoniq SoundScape 
+	  Say Y here to include support for Ensoniq SoundScape
 	  and Ensoniq OEM soundcards.
 
 	  The PCM audio is supported on SoundScape Classic, Elite, PnP
@@ -467,5 +467,4 @@ config SND_MSND_CLASSIC
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-msnd-classic.
 
-endif	# SND_ISA
-
+endif # SND_ISA
sound/mips/Kconfig +7 -8
index 4a47050..162752f 100644
@@ -13,15 +13,14 @@ config SND_SGI_O2
 	tristate "SGI O2 Audio"
 	depends on SGI_IP32
 	select SND_PCM
-        help
-                Sound support for the SGI O2 Workstation. 
+	help
+	  Sound support for the SGI O2 Workstation.
 
 config SND_SGI_HAL2
-        tristate "SGI HAL2 Audio"
-        depends on SGI_HAS_HAL2
+	tristate "SGI HAL2 Audio"
+	depends on SGI_HAS_HAL2
 	select SND_PCM
-        help
-                Sound support for the SGI Indy and Indigo2 Workstation.
-
-endif	# SND_MIPS
+	help
+	  Sound support for the SGI Indy and Indigo2 Workstation.
 
+endif # SND_MIPS
sound/parisc/Kconfig +1 -1
index 9b61d95..a027171 100644
@@ -17,4 +17,4 @@ config SND_HARMONY
 	  chip found in most GSC-based PA-RISC workstations.  It's frequently
 	  provided as part of the Lasi multi-function IC.
 
-endif	# SND_GSC
+endif # SND_GSC
sound/pci/Kconfig +2 -2
index 4105d9f..834d508 100644
@@ -216,7 +216,7 @@ config SND_CMIPCI
 	  will be called snd-cmipci.
 
 config SND_OXYGEN_LIB
-        tristate
+	tristate
 
 config SND_OXYGEN
 	tristate "C-Media 8786, 8787, 8788 (Oxygen)"
@@ -907,6 +907,6 @@ config SND_YMFPCI
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-ymfpci.
 
-endif	# SND_PCI
+endif # SND_PCI
 
 source "sound/pci/hda/Kconfig"
sound/pcmcia/Kconfig +1 -2
index 7fbb190..e0c656f 100644
@@ -29,5 +29,4 @@ config SND_PDAUDIOCF
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-pdaudiocf.
 
-endif	# SND_PCMCIA
-
+endif # SND_PCMCIA
sound/ppc/Kconfig +1 -1
index 0519c60..1e7cae6 100644
@@ -49,4 +49,4 @@ config SND_PS3_DEFAULT_START_DELAY
 	depends on SND_PS3
 	default "2000"
 
-endif	# SND_PPC
+endif # SND_PPC
sound/sh/Kconfig +1 -2
index 61139f3..f7997ac 100644
@@ -27,5 +27,4 @@ config SND_SH_DAC_AUDIO
 	help
 	  Say Y here to include support for the on-chip DAC.
 
-endif	# SND_SUPERH
-
+endif # SND_SUPERH
sound/soc/Kconfig +2 -3
index aa35940..2fb9bb9 100644
@@ -13,7 +13,7 @@ menuconfig SND_SOC
 
 	  If you want ASoC support, you should say Y here and also to the
 	  specific driver for your SoC platform below.
-	  
+
 	  ASoC provides power efficient ALSA support for embedded battery powered
 	  SoC based systems like PDA's, Phones and Personal Media Players.
 
@@ -83,5 +83,4 @@ source "sound/soc/codecs/Kconfig"
 # generic frame-work
 source "sound/soc/generic/Kconfig"
 
-endif	# SND_SOC
-
+endif # SND_SOC
sound/soc/amd/Kconfig +4 -4
index 33ebec9..0f122b5 100644
@@ -1,7 +1,7 @@
 config SND_SOC_AMD_ACP
 	tristate "AMD Audio Coprocessor support"
 	help
-	 This option enables ACP DMA support on AMD platform.
+	  This option enables ACP DMA support on AMD platform.
 
 config SND_SOC_AMD_CZ_DA7219MX98357_MACH
 	tristate "AMD CZ support for DA7219 and MAX9835"
@@ -11,17 +11,17 @@ config SND_SOC_AMD_CZ_DA7219MX98357_MACH
 	select REGULATOR
 	depends on SND_SOC_AMD_ACP && I2C
 	help
-	 This option enables machine driver for DA7219 and MAX9835.
+	  This option enables machine driver for DA7219 and MAX9835.
 
 config SND_SOC_AMD_CZ_RT5645_MACH
 	tristate "AMD CZ support for RT5645"
 	select SND_SOC_RT5645
 	depends on SND_SOC_AMD_ACP && I2C
 	help
-	 This option enables machine driver for rt5645.
+	  This option enables machine driver for rt5645.
 
 config SND_SOC_AMD_ACP3x
 	tristate "AMD Audio Coprocessor-v3.x support"
 	depends on X86 && PCI
 	help
-	 This option enables ACP v3.x I2S support on AMD platform
+	  This option enables ACP v3.x I2S support on AMD platform
sound/soc/cirrus/Kconfig +7 -7
index e091991..d109ff2 100644
@@ -32,13 +32,13 @@ config SND_EP93XX_SOC_AC97
 	select SND_SOC_AC97_BUS
 
 config SND_EP93XX_SOC_SNAPPERCL15
-        tristate "SoC Audio support for Bluewater Systems Snapper CL15 module"
-        depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15 && I2C
-        select SND_EP93XX_SOC_I2S
-        select SND_SOC_TLV320AIC23_I2C
-        help
-          Say Y or M here if you want to add support for I2S audio on the
-          Bluewater Systems Snapper CL15 module.
+	tristate "SoC Audio support for Bluewater Systems Snapper CL15 module"
+	depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15 && I2C
+	select SND_EP93XX_SOC_I2S
+	select SND_SOC_TLV320AIC23_I2C
+	help
+	  Say Y or M here if you want to add support for I2S audio on the
+	  Bluewater Systems Snapper CL15 module.
 
 config SND_EP93XX_SOC_SIMONE
 	tristate "SoC Audio support for Simplemachines Sim.One board"
sound/soc/codecs/Kconfig +30 -30

165 lines not on this page · raw message

sound/soc/dwc/Kconfig +7 -8
index aa0c6ec..a2563dd 100644
@@ -3,17 +3,16 @@ config SND_DESIGNWARE_I2S
 	depends on CLKDEV_LOOKUP
 	select SND_SOC_GENERIC_DMAENGINE_PCM
 	help
-	 Say Y or M if you want to add support for I2S driver for
-	 Synopsys designware I2S device. The device supports up to
-	 a maximum of 8 channels each for play and record.
+	  Say Y or M if you want to add support for I2S driver for
+	  Synopsys designware I2S device. The device supports up to
+	  a maximum of 8 channels each for play and record.
 
 config SND_DESIGNWARE_PCM
 	bool "PCM PIO extension for I2S driver"
 	depends on SND_DESIGNWARE_I2S
 	help
-	 Say Y or N if you want to add a custom ALSA extension that registers
-	 a PCM and uses PIO to transfer data.
-
-	 This functionality is specially suited for I2S devices that don't have
-	 DMA support.
+	  Say Y or N if you want to add a custom ALSA extension that registers
+	  a PCM and uses PIO to transfer data.
 
+	  This functionality is specially suited for I2S devices that don't have
+	  DMA support.
sound/soc/fsl/Kconfig +4 -4
index 7b1d997..b81e535 100644
@@ -291,10 +291,10 @@ config SND_SOC_FSL_ASOC_CARD
 	select SND_SOC_FSL_SAI
 	select SND_SOC_FSL_SSI
 	help
-	 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
-	 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
-	 CS4271, CS4272 and SGTL5000.
-	 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
+	  ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
+	  ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
+	  CS4271, CS4272 and SGTL5000.
+	  Say Y if you want to add support for Freescale Generic ASoC Sound Card.
 
 endif # SND_IMX_SOC
 
sound/soc/generic/Kconfig +1 -1
index 83f1243..d520d11 100644
@@ -1,5 +1,5 @@
 config SND_SIMPLE_CARD_UTILS
-       tristate
+	tristate
 
 config SND_SIMPLE_CARD
 	tristate "ASoC Simple sound card support"
sound/soc/intel/Kconfig +1 -1
index bd9fd20..6dbf727 100644
@@ -111,7 +111,7 @@ config SND_SOC_INTEL_SKYLAKE
 	select SND_SOC_INTEL_CNL
 	select SND_SOC_INTEL_CFL
 	help
-          This is a backwards-compatible option to select all devices
+	  This is a backwards-compatible option to select all devices
 	  supported by the Intel SST/Skylake driver. This option is no
 	  longer recommended and will be deprecated when the SOF
 	  driver is introduced.  Distributions should explicitly
sound/soc/intel/boards/Kconfig +41 -41

131 lines not on this page · raw message

sound/soc/jz4740/Kconfig +1 -1
index 1a354a6..04eb671 100644
@@ -21,7 +21,7 @@ config SND_JZ4740_SOC_QI_LB60
 	depends on HAS_IOMEM
 	depends on JZ4740_QI_LB60 || COMPILE_TEST
 	select SND_JZ4740_SOC_I2S
-    select SND_SOC_JZ4740_CODEC
+	select SND_SOC_JZ4740_CODEC
 	help
 	  Say Y if you want to add support for ASoC audio on the Qi LB60 board
 	  a.k.a Qi Ben NanoNote.
sound/soc/mxs/Kconfig +1 -2
index 219235c..8b4c14d 100644
@@ -7,7 +7,6 @@ menuconfig SND_MXS_SOC
 	  Say Y or M if you want to add support for codecs attached to
 	  the MXS SAIF interface.
 
-
 if SND_MXS_SOC
 
 config SND_SOC_MXS_SGTL5000
@@ -18,4 +17,4 @@ config SND_SOC_MXS_SGTL5000
 	  Say Y if you want to add support for SoC audio on an MXS board with
 	  a sgtl5000 codec.
 
-endif	# SND_MXS_SOC
+endif # SND_MXS_SOC
sound/soc/pxa/Kconfig +14 -15
index 67159a6..2f78094e 100644
@@ -157,7 +157,6 @@ config SND_SOC_TTC_DKB
 	help
 	  Say Y if you want to add support for SoC audio on TTC DKB
 
-
 config SND_SOC_ZYLONITE
 	tristate "SoC Audio support for Marvell Zylonite"
 	depends on SND_PXA2XX_SOC && MACH_ZYLONITE
@@ -189,23 +188,23 @@ config SND_PXA2XX_SOC_MAGICIAN
 	  HTC Magician.
 
 config SND_PXA2XX_SOC_MIOA701
-        tristate "SoC Audio support for MIO A701"
-        depends on SND_PXA2XX_SOC && MACH_MIOA701
+	tristate "SoC Audio support for MIO A701"
+	depends on SND_PXA2XX_SOC && MACH_MIOA701
 	depends on AC97_BUS=n
-        select SND_PXA2XX_SOC_AC97
-        select SND_SOC_WM9713
-        help
-          Say Y if you want to add support for SoC audio on the
-          MIO A701.
+	select SND_PXA2XX_SOC_AC97
+	select SND_SOC_WM9713
+	help
+	  Say Y if you want to add support for SoC audio on the
+	  MIO A701.
 
 config SND_PXA2XX_SOC_IMOTE2
-       tristate "SoC Audio support for IMote 2"
-       depends on SND_PXA2XX_SOC && MACH_INTELMOTE2 && I2C
-       select SND_PXA2XX_SOC_I2S
-       select SND_SOC_WM8940
-       help
-         Say Y if you want to add support for SoC audio on the
-	 IMote 2.
+	tristate "SoC Audio support for IMote 2"
+	depends on SND_PXA2XX_SOC && MACH_INTELMOTE2 && I2C
+	select SND_PXA2XX_SOC_I2S
+	select SND_SOC_WM8940
+	help
+	  Say Y if you want to add support for SoC audio on the
+	  IMote 2.
 
 config SND_MMP_SOC_BROWNSTONE
 	tristate "SoC Audio support for Marvell Brownstone"
sound/soc/samsung/Kconfig +4 -4
index 0520f5a..3739841 100644
@@ -194,10 +194,10 @@ config SND_SOC_ODROID
 	  Say Y here to enable audio support for the Odroid XU3/XU4.
 
 config SND_SOC_ARNDALE_RT5631_ALC5631
-        tristate "Audio support for RT5631(ALC5631) on Arndale Board"
-        depends on I2C
-        select SND_SAMSUNG_I2S
-        select SND_SOC_RT5631
+	tristate "Audio support for RT5631(ALC5631) on Arndale Board"
+	depends on I2C
+	select SND_SAMSUNG_I2S
+	select SND_SOC_RT5631
 
 config SND_SOC_SAMSUNG_TM2_WM5110
 	tristate "SoC I2S Audio support for WM5110 on TM2 board"
sound/soc/zte/Kconfig +6 -6
index 75f67a5..4afdc84 100644
@@ -17,9 +17,9 @@ config ZX_I2S
 	  ZTE ZX I2S interface
 
 config ZX_TDM
-        tristate "ZTE ZX TDM Driver Support"
-        depends on COMMON_CLK
-        select SND_SOC_GENERIC_DMAENGINE_PCM
-        help
-          Say Y or M if you want to add support for codecs attached to the
-          ZTE ZX TDM interface
+	tristate "ZTE ZX TDM Driver Support"
+	depends on COMMON_CLK
+	select SND_SOC_GENERIC_DMAENGINE_PCM
+	help
+	  Say Y or M if you want to add support for codecs attached to the
+	  ZTE ZX TDM interface
sound/sparc/Kconfig +1 -1
index dfcd386..df00bd0 100644
@@ -39,4 +39,4 @@ config SND_SUN_DBRI
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-sun-dbri.
 
-endif	# SND_SPARC
+endif # SND_SPARC
sound/spi/Kconfig +1 -2
index e6485be..5659b45 100644
@@ -34,5 +34,4 @@ config SND_AT73C213_TARGET_BITRATE
 
 	  Set to 48000 Hz by default.
 
-endif	# SND_SPI
-
+endif # SND_SPI
sound/usb/Kconfig +23 -24

76 lines not on this page · raw message

sound/x86/Kconfig +2 -2
index 8adf4d1..fb7e1aa 100644
@@ -12,6 +12,6 @@ config HDMI_LPE_AUDIO
 	depends on DRM_I915
 	select SND_PCM
 	help
-	 Choose this option to support HDMI LPE Audio mode
+	  Choose this option to support HDMI LPE Audio mode
 
-endif	# SND_X86
+endif # SND_X86
Signature · 1 line
1.9.1