Takashi Iwai
04eeb606a8
ALSA: aoa: Use snd_ctl_elem_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:08:36 +02:00
Takashi Iwai
a7e6fb9915
ALSA: control: Allow to pass items zero to snd_ctl_enum_info()
...
Although this is weird, some drivers want to allow empty control
elements intentionally, e.g. the number of items may change depending
on the firmware status. Let the function simply returning in such a
case.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-20 18:25:41 +02:00
Takashi Iwai
df803e1389
ALSA: control: Warn if too long string is passed to snd_ctl_enum_info()
...
This allows us to catch the bugs in drivers easily.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-20 18:25:27 +02:00
Wolfram Sang
79cd176293
ALSA: sparc: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:16 +02:00
Wolfram Sang
c9e2faeb20
ASoC: ux500: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:15 +02:00
Wolfram Sang
1cfc291a30
ASoC: txx9: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:15 +02:00
Wolfram Sang
89032b176b
ASoC: tegra: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:15 +02:00
Wolfram Sang
0d0a995aa8
ASoC: spear: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:14 +02:00
Wolfram Sang
33db744abe
ASoC: sirf: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:14 +02:00
Wolfram Sang
f20068009a
ASoC: sh: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:13 +02:00
Wolfram Sang
ac204d2290
ASoC: samsung: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:13 +02:00
Wolfram Sang
bc46ec16a5
ASoC: s6000: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:12 +02:00
Wolfram Sang
d20114fd74
ASoC: rockchip: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:12 +02:00
Wolfram Sang
08d30ecc67
ASoC: pxa: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:11 +02:00
Wolfram Sang
d34135b4c0
ASoC: omap: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:11 +02:00
Wolfram Sang
9a600224a3
ASoC: nuc900: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:11 +02:00
Wolfram Sang
38b089d78b
ASoC: mxs: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:10 +02:00
Wolfram Sang
b4c1456f86
ASoC: kirkwood: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:10 +02:00
Wolfram Sang
20d7e389f2
ASoC: jz4740: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:09 +02:00
Wolfram Sang
3c1af8802e
ASoC: intel: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:09 +02:00
Wolfram Sang
ffd35fa74f
ASoC: generic: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:08 +02:00
Wolfram Sang
8cb636b1a1
ASoC: fsl: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:08 +02:00
Wolfram Sang
27cbfa122a
ASoC: dwc: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:07 +02:00
Wolfram Sang
a17b87a5b0
ASoC: davinci: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:07 +02:00
Wolfram Sang
c756e83d1a
ASoC: codecs: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:07 +02:00
Wolfram Sang
d0052ec305
ASoC: cirrus: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:05 +02:00
Wolfram Sang
3316fd2554
ASoC: blackfin: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:05 +02:00
Wolfram Sang
ea3bccab07
ASoC: bcm: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:04 +02:00
Wolfram Sang
68db31fc04
ASoC: au1x: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:04 +02:00
Wolfram Sang
c9845a84be
ASoC: atmel: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:03 +02:00
Wolfram Sang
7af23bd9f3
ASoC: adi: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:03 +02:00
Wolfram Sang
ab31135e6e
ASoC: : drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:02 +02:00
Wolfram Sang
9717b20ee4
ALSA: sh: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:02 +02:00
Wolfram Sang
85be0fa460
ALSA: ppc: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:02 +02:00
Wolfram Sang
04edde9789
OSS: dmasound: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:01 +02:00
Wolfram Sang
0d3d8be84a
ALSA: mips: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:01 +02:00
Wolfram Sang
cb4fe8ae66
ALSA: drivers: pcsp: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:00 +02:00
Wolfram Sang
d9b97db07a
ALSA: drivers: mpu401: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:22:00 +02:00
Wolfram Sang
5d5638afa0
ALSA: drivers: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:21:59 +02:00
Wolfram Sang
16573a98e1
ALSA: atmel: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:21:59 +02:00
Wolfram Sang
6851da1f74
ALSA: arm: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:21:59 +02:00
David Henningsson
3abb4f4d0e
ALSA: hda - Use "Line Out" name instead of "PCM" when there are other outputs
...
In case there are speakers or headphones as well, anything that only
covers the line out should not be labelled "PCM". Let's name it
"Line Out" instead for clarity.
Signed-off-by: David Henningsson <david.henningsson@canonical.com >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-20 13:38:10 +02:00
David Henningsson
03ad6a8c93
ALSA: hda - Fix "PCM" name being used on one DAC when there are two DACs
...
In the scenario where there is one "Line Out", one "Speaker" and one
"Headphone", and there are only two DACs, two outputs will share a DAC.
Currently any mixer on such a DAC will get the "PCM" name, which is
misleading. Instead use "Headphone+LO" or "Speaker+LO" to better
specify what the volume actually controls.
[fixed missing slave string additions by tiwai]
Signed-off-by: David Henningsson <david.henningsson@canonical.com >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-20 13:37:50 +02:00
Fabio Estevam
84d4cbe9a6
ASoC: simple-card: Delete unneeded test before of_node_put
...
of_node_put() supports NULL as its argument, so the initial test is not
necessary.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:40 +01:00
Jean-Michel Hautbois
8735779774
ASoC: sgtl5000: Add MicBias voltage support
...
Some systems may require to specify a bias different than default (1.25V).
This adds a property in sgtl5000 codec.
The property is specified in milli-volts so that it is coherent with datasheet.
Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:33 +01:00
Jean-Michel Hautbois
bd0593f5f6
ASoC: sgtl5000: Add MicBias resistor support in DT
...
Some systems may require a different resistor than the default one (4K).
This adds a property in sgtl5000 codec.
It keeps the default of 4K when nothing is specified so it does not break
existing code.
Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:33 +01:00
Fabio Estevam
7f6d75d776
ASoC: sgtl5000: Cleanup the comments
...
Fix grammar and typos.
Besides that, also fix the comment about the range of SYS_MCLK, which is from
8 to 27 MHz.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:33 +01:00
Anatol Pomozov
ac884fc47b
ASoC: rt5677: add build dependency to spi
...
Since 9cb715a9d4c the codec has a hardcoded dependency to spi.
Add this dependency to Kconfig. It fixes buildbot compilation failure:
sound/built-in.o: In function `spi_write':
>> rt5677-spi.c:(.text+0x8265f): undefined reference to `spi_sync'
sound/built-in.o: In function `rt5677_spi_driver_init':
>> rt5677-spi.c:(.init.text+0x17db): undefined reference to `spi_register_driver'
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:21 +01:00
Anatol Pomozov
45b6e1d300
ASoC: rt5677: fix build when kernel compiled without GPIOLIB support
...
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:21 +01:00
Anatol Pomozov
8a4bd60af4
ASoC: rt5677: Print more information if setting DAI clock failed
...
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-20 12:22:20 +01:00