31 Oct, 2010
3 commits
-
Do not allow invalid (too big) nSample value, when FIFO Mode1
and automatic fifo configuration has been selected.Signed-off-by: Peter Ujfalusi
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Limit the time window to maximum 1s in the macro.
The driver deals with much shorter times (
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Correct/Implement handling of broken chip.
Fail the soc_prope if the communication with the chip
fails (can not read chip ID).Signed-off-by: Peter Ujfalusi
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
23 Oct, 2010
1 commit
-
Switch to use the more precise usleep_range instead of
msleep().
Replace the udelay with usleep_range to remove the busy loop
waiting.Signed-off-by: Peter Ujfalusi
Acked-by: Mark Borwn
Signed-off-by: Liam Girdwood
22 Oct, 2010
1 commit
-
Correct/Implement handling of broken chip.
Fail the i2c_prope if the communication with the chip
fails.Signed-off-by: Peter Ujfalusi
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
13 Oct, 2010
1 commit
-
New control to select the line output gain.
This gain control affects the linein-to-lineout and
dac-to-loneout gain differently.
Use enum type to select the desired gain combination.Signed-off-by: Peter Ujfalusi
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
10 Oct, 2010
1 commit
-
It is currently completely normal to execute these machine drivers code on
different boards if the kernel includes support for multiple boards so no
error message should be printed if the machine_is_xxx does not match with
the machine driver.Therefore remove these pr_err and pr_debug prints in those cases.
Signed-off-by: Jarkko Nikula
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
06 Oct, 2010
5 commits
-
Remove duplicated include.
Signed-off-by: Nicolas Kaiser
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Platform driver ID table must be zero-element terminated.
Signed-off-by: Guennadi Liakhovetski
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Be verbose and print out the device revision.
Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Ensure that all drivers that use SPI and I2C will work properly
by providing SPI write functions for all different I/O types.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
…/sound-2.6 into for-2.6.37
05 Oct, 2010
3 commits
-
…ie/sound-2.6 into topic/asoc
-
Since only 4 mainline ASoC codecs support the trigger
callback, we cannot rely upon them stopping the frame clock
if they are master and must assume it is running even if the
sound is paused. Thus we cannot start the ASP until the trigger
method.Signed-off-by: Troy Kisky
Signed-off-by: Martin Ambrose
Signed-off-by: Mark Brown -
Upcoming ASoC multi-component and OMAP hwmod changes will conflict
in arch/arm/mach-omap2/devices.c. Avoid this by moving a little bit
include statement introduced by ASoC Multi-Component Support patch.Signed-off-by: Jarkko Nikula
Cc: Paul Walmsley
Cc: Tony Lindgren
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
04 Oct, 2010
2 commits
-
The PLL is disabled when the corresponding bit is set not the other
way around. This commit depends on my other commit with Subject
"ASoC: WM8804: Refactor set_pll code to avoid GCC warnings".Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Ensure that no uninitialised variable warnings are generated by
GCC.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
03 Oct, 2010
5 commits
-
…soc-2.6 into topic/asoc
-
Make sure the DAI name does not include a '/' since we might have
per DAI debugfs or sysfs entries in the future.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
GPIO2 and GPIO3 on the WM8962 are MFPs and need to be put into GPIO mode
before the GPIO block can be used to control them. We're already doing
this when used via gpiolib, factor out the code for use when setting static
configurations via platform data as well.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Allow microphone detection on WM8962 to be performed using the interrupt
signal, allowing the detection of both microphone presence and button
presses with a signal singal from the CODEC to CPU. Currently a 250ms
debounce time is applied to both short circuit and presence detection,
this has not been optimised.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
The WM8962 features five GPIOs, add support for controlling their output
state via gpiolib.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
01 Oct, 2010
6 commits
-
While it is a generic serial port in practice the i.MX SSI is only supported
in Linux as an audio port (the i.MX has dedicated SPI controllers and so on).
This means we don't need to disambiguate against other uses of the hardware
and so can drop the -dai suffix from the driver name which fixes merge
issues with the i.MX tree in -next.Signed-off-by: Mark Brown
Acked-by: Uwe Kleine-König
Acked-by: Liam Girdwood -
The restrictions on configuring BCLK are overly cautious, other constraints
in the system should ensure that reconfiguration is not possible when the
device is sufficiently active to be unable to support reclocking.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
The WM8804 is a high performance consumer mode S/PDIF transceiver with
support for 1 received channel and 1 transmitted channel.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
No need to explicitly set the bus type, spi_register_driver does
that for us.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Add the widget for MICBIAS power control and allow configuration of the
microphone bias setup via the platform data for the WM8962. When
microphone status signals are brought out to GPIO this should be
sufficient to enable microphone detection.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
There are some status bits for microphone detection in here.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
29 Sep, 2010
4 commits
-
Provide an initial hookup for interrupts on the WM8962. Currently we simply
report error status via log messages if an IRQ is provided for the device.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
For consistency.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
When configuring the FLL we preserve the FLL enable configuration in order
to allow us to reenable the FLL after configuration but we do not clear
the other bits in the register, causing old configuration to be preserved.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Since we are using custom get/put handlers
use SOC_ENUM_SINGLE_EXT_DECL instead of the original SOC_ENUM_SINGLE_DECL
macro.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
27 Sep, 2010
1 commit
-
sound/soc/codecs/wm8985.c: In function 'wm8985_hw_params':
sound/soc/codecs/wm8985.c:731:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'Actually the variable is fine as int.
Signed-off-by: Takashi Iwai
25 Sep, 2010
5 commits
-
Since Jassi is doing so much good work and can offer such good review
for the Samsung CPU support add an entry for the Samsung ASoC drivers
to MAINTAINERS listing him.Signed-off-by: Mark Brown
Acked-by: Jassi Brar
Acked-by: Liam Girdwood -
ASoC Multi-Component Support moves some code from sound/soc/omap/zoom2.c into
arch/arm/mach-omap2/board-zoom2.c. However, that code should go to
board-zoom-peripherals.c instead as there is common code and registration
for zoom boards.Signed-off-by: Jarkko Nikula
Cc: Vikram Pandita
Cc: Lopez Cruz, Misael
Cc: Jorge Eduardo Candelaria
Cc: Tony Lindgren
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
ASoC Multi-Component Support patch removes #if 0 in board-zoom2.c that was
used to protect some uncompiling dead code. Remove that code as it seems to
be here quite some time since commit 479f12c.Signed-off-by: Jarkko Nikula
Cc: Vikram Pandita
Cc: Tony Lindgren
Tested-by: Misael Lopez Cruz
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
We are not using the private data in this function, so get rid of it.
Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
24 Sep, 2010
2 commits
-
Remove version number and clean up some indentation.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Helps tracing errors further up the stack.
Signed-off-by: Mark Brown
Acked-by: Jassi Brar
Acked-by: Liam Girdwood