]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Thu, 26 Nov 2009 09:12:39 +0000 (10:12 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda: Fix max PCM level to 0 dB for Fujitsu-Siemens laptops using CX20549 (Venice)
Daniel T Chen [Wed, 25 Nov 2009 23:27:20 +0000 (18:27 -0500)]
ALSA: hda: Fix max PCM level to 0 dB for Fujitsu-Siemens laptops using CX20549 (Venice)

BugLink: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4792
Cristian reported that these models have really bad sound above 6 dB
and proposed the original patch. I've updated the comment to reflect
this change.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Reported-by: Cristian Klein
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Wed, 25 Nov 2009 09:02:01 +0000 (10:02 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: intel8x0: Mute External Amplifier by default for Gateway 4525GZ
Daniel T Chen [Wed, 25 Nov 2009 03:51:05 +0000 (22:51 -0500)]
ALSA: intel8x0: Mute External Amplifier by default for Gateway 4525GZ

BugLink: https://bugs.launchpad.net/bugs/487884
This Gateway model needs External Amplifier muted for audible playback,
so set the inv_eapd quirk for it.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Tue, 24 Nov 2009 09:23:04 +0000 (10:23 +0100)]
Merge branch 'topic/misc' into for-next

Conflicts:
sound/usb/usbmidi.c

14 years agosound: usxxx: cleanup chip field
Clemens Ladisch [Mon, 16 Nov 2009 11:26:30 +0000 (12:26 +0100)]
sound: usxxx: cleanup chip field

The chip field is no longer needed.  Move those of its fields that are
actually used to the device structure itself.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agosound: usb: make the USB MIDI module more independent
Clemens Ladisch [Mon, 16 Nov 2009 11:23:46 +0000 (12:23 +0100)]
sound: usb: make the USB MIDI module more independent

Remove the dependecy from the USB MIDI code on the snd_usb_audio
structure.  This allows using the USB MIDI module from another driver
without having to pretend to be the generic USB audio driver.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agosound: usb-audio: allow switching altsetting on Roland USB MIDI devices
Clemens Ladisch [Thu, 22 Oct 2009 07:06:19 +0000 (09:06 +0200)]
sound: usb-audio: allow switching altsetting on Roland USB MIDI devices

Add a mixer control to select between the two altsettings on Roland USB
MIDI devices where the input endpoint is either bulk or interrupt.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/asoc' into for-next
Takashi Iwai [Tue, 24 Nov 2009 08:11:56 +0000 (09:11 +0100)]
Merge branch 'topic/asoc' into for-next

14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Tue, 24 Nov 2009 08:02:08 +0000 (09:02 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Make Dell Vostro 1015n mic and speaker switching work
Einar Rünkaru [Mon, 23 Nov 2009 20:23:49 +0000 (22:23 +0200)]
ALSA: hda - Make Dell Vostro 1015n mic and speaker switching work

Dell Vostro 1015n uses Conexant CX20583-10Z (0x14f1:5067). Patch is
based on "olpc-xo-1_5" branch. Dell uses digital mic.

Signed-off-by: Einar Rünkaru <einarry@smail.ee>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoRevert "ALSA: hda - Change quirk for Acer Aspire 5930G"
Takashi Iwai [Tue, 24 Nov 2009 07:57:53 +0000 (08:57 +0100)]
Revert "ALSA: hda - Change quirk for Acer Aspire 5930G"

This reverts commit f2624791a0c2a2d7664b12d75ca327917141fd3b.

Łukasz Wojniłowicz reported that the change causes both internal and
external mics not working any more.  The headphone jacking issue was
fixed by his previous patch, it's better to revert to acer-aspire-4930g
model.

Reported-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/asoc' into for-next
Takashi Iwai [Mon, 23 Nov 2009 13:41:11 +0000 (14:41 +0100)]
Merge branch 'topic/asoc' into for-next

14 years agoMerge branch 'for-2.6.32' into for-2.6.33
Mark Brown [Mon, 23 Nov 2009 13:37:04 +0000 (13:37 +0000)]
Merge branch 'for-2.6.32' into for-2.6.33

14 years agoASoC: Fix suspend with active audio streams
Mark Brown [Mon, 23 Nov 2009 13:11:53 +0000 (13:11 +0000)]
ASoC: Fix suspend with active audio streams

When we get a stream suspend event force the power down since otherwise
the stream would remain marked as active.  In future we'll probably want
to make this stream-specific and add an interface to make the power down
of other widgets optional in order to support leaving bypass paths
active while suspending the processor.

Cc: stable@kernel.org
Reported-by: Joonyoung Shim <jy0922.shim@samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Mon, 23 Nov 2009 08:44:58 +0000 (09:44 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: AACI cleanup
Russell King [Mon, 23 Nov 2009 08:44:10 +0000 (09:44 +0100)]
ALSA: AACI cleanup

Fix the buffer size calculation to use the size which ALSA is expecting.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Sat, 21 Nov 2009 19:00:10 +0000 (20:00 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: opti-miro: remove snd_card pointer from snd_miro structure
Krzysztof Helt [Sat, 21 Nov 2009 00:01:18 +0000 (01:01 +0100)]
ALSA: opti-miro: remove snd_card pointer from snd_miro structure

Remove the snd_card pointer from the snd_miro structure and
do some small code improvements.

Also, move Opti chipset detection before detection of the
ACI mixer, so the mci_base value is set in one place only.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Sat, 21 Nov 2009 18:59:37 +0000 (19:59 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Fix input and jack Kconfig depenencies
Takashi Iwai [Sat, 21 Nov 2009 18:57:11 +0000 (19:57 +0100)]
ALSA: hda - Fix input and jack Kconfig depenencies

CONFIG_SND_JACK needs to be selected explicitly only when INPUT=y or
INPUT_SND.  The current way, INPUT=SND_HDA_INTEL isn't strict enough.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'ads117x' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound...
Mark Brown [Fri, 20 Nov 2009 16:37:10 +0000 (16:37 +0000)]
Merge branch 'ads117x' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into for-2.6.33

14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Fri, 20 Nov 2009 11:14:57 +0000 (12:14 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - 4930g mute lfe and side when pluging in headphones
Łukasz Wojniłowicz [Fri, 20 Nov 2009 11:14:35 +0000 (12:14 +0100)]
ALSA: hda - 4930g mute lfe and side when pluging in headphones

Fixes first issue from comment 0021423 in bug 0004317 for Acer Aspire 5930g

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Fri, 20 Nov 2009 07:53:16 +0000 (08:53 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: sound: usbmidi: Use hweight16
Akinobu Mita [Fri, 20 Nov 2009 05:56:52 +0000 (14:56 +0900)]
ALSA: sound: usbmidi: Use hweight16

Use hweight16 instead of Brian Kernighan's/Peter Wegner's method

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agosound: usb-audio: add Roland UA-1G support
Clemens Ladisch [Thu, 19 Nov 2009 13:34:33 +0000 (14:34 +0100)]
sound: usb-audio: add Roland UA-1G support

Add support for the Roland UA-1G audio interface.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Thu, 19 Nov 2009 10:53:03 +0000 (11:53 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: cs4236: add dB scale for all volume controls
Krzysztof Helt [Wed, 18 Nov 2009 16:29:36 +0000 (17:29 +0100)]
ALSA: cs4236: add dB scale for all volume controls

Use db scale for all volume controls according to Crystal's datasheets.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Thu, 19 Nov 2009 10:52:38 +0000 (11:52 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Change quirk for Acer Aspire 5930G
Takashi Iwai [Thu, 19 Nov 2009 10:48:44 +0000 (11:48 +0100)]
ALSA: hda - Change quirk for Acer Aspire 5930G

Change the quirk for Acer Aspire 5930G from model=acer-aspire-4930g to
model=acer-aspre-6530g.  The tuba bass gets muted along with the other
built-in speakers upon headphones insertion, the internal mic works
perfectly etc.

Reported-by: Claudio Viano <claudio.viano@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoASoC: Add support for IGEP v2
Enric Balletbò i Serra [Wed, 18 Nov 2009 14:59:24 +0000 (15:59 +0100)]
ASoC: Add support for IGEP v2

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: DaVinci: use edma_pause, edma_resume
Troy Kisky [Thu, 19 Nov 2009 00:49:54 +0000 (17:49 -0700)]
ASoC: DaVinci: use edma_pause, edma_resume

Use edma_pause and edma_resume to make missing dma_events
less likely. This may not be needed, but it looks better.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: DaVinci: pcm, fix underrun by using sram
Troy Kisky [Thu, 19 Nov 2009 00:49:53 +0000 (17:49 -0700)]
ASoC: DaVinci: pcm, fix underrun by using sram

Fix underruns by using dma to copy 1st to sram
in a ping/pong buffer style and then copying from
the sram to the ASP. This also has the advantage
of tolerating very long interrupt latency on dma
completion.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: DaVinci: pcm, rename variables in prep for ping/pong
Troy Kisky [Thu, 19 Nov 2009 00:49:52 +0000 (17:49 -0700)]
ASoC: DaVinci: pcm, rename variables in prep for ping/pong

Rename variable master_lch to asp_channel
Rename variable slave_lch to asp_link[0]
Rename local variables:
lch to link
count to asp_count
src to asp_src
dst to asp_dst

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: DaVinci: i2s, reduce underruns by combining into 1 element
Troy Kisky [Thu, 19 Nov 2009 00:49:51 +0000 (17:49 -0700)]
ASoC: DaVinci: i2s, reduce underruns by combining into 1 element

Allow the left and right 16 bit samples to be shifted out as 1
32 bit sample.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Wed, 18 Nov 2009 16:23:26 +0000 (17:23 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Fix mute-LED sync on HP laptops with IDT92HD83xxx codecs
Takashi Iwai [Wed, 18 Nov 2009 16:20:24 +0000 (17:20 +0100)]
ALSA: hda - Fix mute-LED sync on HP laptops with IDT92HD83xxx codecs

The mute-LED isn't synchronized with the actual mute state on some
HP laptops with IDT 92HD83xxx codecs.  A similar hack using
check_power_status callback is added for this codec, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/asoc' into for-next
Takashi Iwai [Wed, 18 Nov 2009 15:36:34 +0000 (16:36 +0100)]
Merge branch 'topic/asoc' into for-next

14 years agoMerge branch 'fix/asoc' into for-next
Takashi Iwai [Wed, 18 Nov 2009 15:36:31 +0000 (16:36 +0100)]
Merge branch 'fix/asoc' into for-next

14 years agoMerge branch 'for-2.6.32' into for-2.6.33
Mark Brown [Wed, 18 Nov 2009 13:54:51 +0000 (13:54 +0000)]
Merge branch 'for-2.6.32' into for-2.6.33

14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Wed, 18 Nov 2009 13:53:19 +0000 (14:53 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoASoC: tlv320aic23 fix rate selection
Troy Kisky [Tue, 17 Nov 2009 20:51:01 +0000 (13:51 -0700)]
ASoC: tlv320aic23 fix rate selection

Fix the ordering of sr_valid_mask array.
The lower bit of the index represents USB
not bosr.

Reported-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: OMAP3 Pandora: update for TWL4030 codec changes
Grazvydas Ignotas [Sat, 7 Nov 2009 21:16:12 +0000 (23:16 +0200)]
ASoC: OMAP3 Pandora: update for TWL4030 codec changes

A while ago TWL4030 had it's playback stream name changed, but
pandora needs it for it's playback path. Update to correct stream
name so that playback works again.

Also mark VIBRA output as not connected.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: Modifying the license string GPLv2 for OMAP3 EVM
Anuj Aggarwal [Tue, 17 Nov 2009 16:13:42 +0000 (21:43 +0530)]
ASoC: Modifying the license string GPLv2 for OMAP3 EVM

Correcting the license string from GPLv2 -> GPL v2.
Found the problem while building OMAP3 ASoC driver as
module.

Signed-off-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoMerge branch 'topic/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
Mark Brown [Wed, 18 Nov 2009 13:42:05 +0000 (13:42 +0000)]
Merge branch 'topic/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-2.6.33

14 years agoASoC: DaVinci: remove requirement that dma_params is 1st in structure
Troy Kisky [Mon, 16 Nov 2009 23:52:31 +0000 (16:52 -0700)]
ASoC: DaVinci: remove requirement that dma_params is 1st in structure

Remove requirement that dma_params is 1st in the structures
davinci_audio_dev and davinci_mcbsp_dev.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: Added the CPU driver for PCM controllers
Jassi Brar [Tue, 17 Nov 2009 07:54:03 +0000 (16:54 +0900)]
ASoC: Added the CPU driver for PCM controllers

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoARM: S3C64XX: Defined PCM controller platform devices
Jassi Brar [Tue, 17 Nov 2009 07:53:56 +0000 (16:53 +0900)]
ARM: S3C64XX: Defined PCM controller platform devices

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoARM: S3C64XX: Added platform data header
Jassi Brar [Tue, 17 Nov 2009 07:53:50 +0000 (16:53 +0900)]
ARM: S3C64XX: Added platform data header

Many SoCs have their I2S pins MUXed with other functions. So we need
to pass a callback for driver to configure the pins appropriately.
Hence, the need of platform data and this header.

As and when needed new callbacks and structure pointers maybe added to this
header.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoARM: S3C64XX: Define PCM Controller base registers
Jassi Brar [Tue, 17 Nov 2009 07:53:38 +0000 (16:53 +0900)]
ARM: S3C64XX: Define PCM Controller base registers

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: Rename 's3c24xx-pcm' driver to 's3c-dma'
Jassi Brar [Tue, 17 Nov 2009 07:53:31 +0000 (16:53 +0900)]
ASoC: Rename 's3c24xx-pcm' driver to 's3c-dma'

Making room for namespace for the PCM Controller driver
the platform driver(s3c24xx-pcm) has been renamed to SoC
agnostic name 's3c-dma'.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoASoC: Rename s3c24xx_pcm prefix to s3c_dma
Jassi Brar [Tue, 17 Nov 2009 07:53:23 +0000 (16:53 +0900)]
ASoC: Rename s3c24xx_pcm prefix to s3c_dma

The s3c24xx_pcm prefix for the soc_platform is inappropriate when
some Samsung SoCs have PCM controllers which will eventually have
drivers and hence namespace ambiguities.

To resolve naming ambiguities in future the following have been
renamed in order
1) s3c24xx_pcm_dma_params -> s3c_dma_params
2) s3c24xx_pcm_preallocate_dma_buffer -> s3c_preallocate_dma_buffer
3) s3c24xx_pcm_dmamask -> s3c_dma_mask
4) s3c24xx_pcm_XXX -> s3c_dma_XXX

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoALSA: hda - Fix detection of dual headphones
Takashi Iwai [Wed, 18 Nov 2009 13:23:37 +0000 (14:23 +0100)]
ALSA: hda - Fix detection of dual headphones

The dual-headphone mode with STAC/IDT codecs is useful only for machines
that have two (or more) built-in headphones.

But, some HP laptops give multiple headphone pin configs, one for the
built-in and another for the separate (likely a docking station) one.
This results in a missing speaker volume control.

This patch adds more check for the dual-headphone mode to avoid this
problem.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Wed, 18 Nov 2009 08:59:57 +0000 (09:59 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: remove unnecessary null check
Dan Carpenter [Wed, 18 Nov 2009 08:31:57 +0000 (10:31 +0200)]
ALSA: remove unnecessary null check

This function is only called from snd_ctl_ioctl() and the file parameter
can never be null so there is no need to check it here.

We dereference file at the start of the function:
        struct snd_card *card = file->card;
and it confuses static checkers to dereference a pointer before
checking it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Wed, 18 Nov 2009 07:39:39 +0000 (08:39 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: opti-miro: Fix missing semicolon
Takashi Iwai [Wed, 18 Nov 2009 07:37:59 +0000 (08:37 +0100)]
ALSA: opti-miro: Fix missing semicolon

To fix a build error
  sound/isa/opti9xx/miro.c:1281: error: expected ';' before '}' token

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Wed, 18 Nov 2009 07:02:44 +0000 (08:02 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Replace the rest of jack-detections with snd_hda_jack_detect()
Takashi Iwai [Wed, 18 Nov 2009 07:00:14 +0000 (08:00 +0100)]
ALSA: hda - Replace the rest of jack-detections with snd_hda_jack_detect()

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - show EPSS capability in proc
Wu Fengguang [Wed, 18 Nov 2009 04:38:08 +0000 (12:38 +0800)]
ALSA: hda - show EPSS capability in proc

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - sticky channel count
Wu Fengguang [Wed, 18 Nov 2009 04:38:07 +0000 (12:38 +0800)]
ALSA: intelhdmi - sticky channel count

Don't change channel count if not necessary.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - sticky stream id and format
Wu Fengguang [Wed, 18 Nov 2009 04:38:06 +0000 (12:38 +0800)]
ALSA: intelhdmi - sticky stream id and format

We tracked down the first-0.5s-hdmi-audio-samples-lost problem to the
AC_VERB_SET_CHANNEL_STREAMID command. It is suspected that many HDMI
sinks need some time to adapt to the new state.

The workaround is to avoid changing stream id/format whenever possible.
Proposed by David.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - sticky infoframe
Wu Fengguang [Wed, 18 Nov 2009 04:38:05 +0000 (12:38 +0800)]
ALSA: intelhdmi - sticky infoframe

Remember the active infoframe, so as to avoid stop/restart infoframe
transmission when switching between audio clips of the same format.

Proposed by Shang and David.

CC: Shane W <shane-alsa@csy.ca>
CC: David Härdeman <david@hardeman.nu>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - separate out infoframe checksum routine
Wu Fengguang [Wed, 18 Nov 2009 04:38:04 +0000 (12:38 +0800)]
ALSA: intelhdmi - separate out infoframe checksum routine

And make it right when called for more than one times.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - probe for monitor/eld presence at module init time
Wu Fengguang [Wed, 18 Nov 2009 04:38:03 +0000 (12:38 +0800)]
ALSA: intelhdmi - probe for monitor/eld presence at module init time

This avoids lost of presence info on module reloading.
The presence info used to be only updated at the (rare) hotplug events.

Proposed by David, thanks!

CC: David Härdeman <david@hardeman.nu>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - introduce snd_hda_jack_detect() and snd_hda_pin_sense()
Wu Fengguang [Wed, 18 Nov 2009 04:38:02 +0000 (12:38 +0800)]
ALSA: hda - introduce snd_hda_jack_detect() and snd_hda_pin_sense()

This helps merge duplicate code.

v2: add snd_hda_jack_detect() and comments recommended by Takashi.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - export monitor-presence and ELD-valid status
Wu Fengguang [Wed, 18 Nov 2009 04:38:01 +0000 (12:38 +0800)]
ALSA: intelhdmi - export monitor-presence and ELD-valid status

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - fix channel mapping slot mask
Wu Fengguang [Wed, 18 Nov 2009 04:38:00 +0000 (12:38 +0800)]
ALSA: intelhdmi - fix channel mapping slot mask

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: intelhdmi - fix audio infoframe fill size
Wu Fengguang [Wed, 18 Nov 2009 04:37:59 +0000 (12:37 +0800)]
ALSA: intelhdmi - fix audio infoframe fill size

Reported-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Wed, 18 Nov 2009 06:24:47 +0000 (07:24 +0100)]
Merge branch 'topic/misc' into for-next

14 years agoALSA: opti-miro: use variables directly in the probe function
Krzysztof Helt [Tue, 17 Nov 2009 17:35:41 +0000 (18:35 +0100)]
ALSA: opti-miro: use variables directly in the probe function

Use the fm_port and mpu_port variables directly in a probe function.
This completely eliminates a need to copy the fm_port value to
the snd_miro structure.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: cs4236: update control names
Krzysztof Helt [Tue, 17 Nov 2009 17:34:54 +0000 (18:34 +0100)]
ALSA: cs4236: update control names

Update control names to be more closer to their meaning.
Change the "Mono" name to the "Beep" as this line is usually
used to forward the PC beeper signal to sound card's output.
Update names for both cs423x and wss.

Clean up cs4235 controls according to the cs4235 doc. Rename
some of the cs4235 controls to be consistent with the cs4236's
ones.

Also, delete one misnamed cs4231 register define.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Tue, 17 Nov 2009 15:03:57 +0000 (16:03 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Disable default quirk for Sony VAIO with ALC262 codec
Takashi Iwai [Tue, 17 Nov 2009 15:01:58 +0000 (16:01 +0100)]
ALSA: hda - Disable default quirk for Sony VAIO with ALC262 codec

The ALC262 has a quirk entry matching with all Sony Vaio laptops
to use model=sony-assamd as default.  But, model=auto works much better
for new models in the recent driver versions, thus it's safer to disable
that default quirk entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'fix/hda' into topic/hda
Takashi Iwai [Tue, 17 Nov 2009 15:00:33 +0000 (16:00 +0100)]
Merge branch 'fix/hda' into topic/hda

14 years agoMerge branch 'fix/hda' into for-next
Takashi Iwai [Tue, 17 Nov 2009 15:00:22 +0000 (16:00 +0100)]
Merge branch 'fix/hda' into for-next

14 years agoALSA: hda - Fix quirk for VAIO type G
Takashi Iwai [Tue, 17 Nov 2009 14:58:35 +0000 (15:58 +0100)]
ALSA: hda - Fix quirk for VAIO type G

Vaio type G laptop doesn't work with the current quirk setup.
After some tests, it turned out that it should be model=auto as default.

Reported-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'fix/misc' into for-next
Takashi Iwai [Tue, 17 Nov 2009 14:49:51 +0000 (15:49 +0100)]
Merge branch 'fix/misc' into for-next

14 years agoALSA: usb - Quirk to disable master volume control in PCM2702
Javier Kohen [Tue, 17 Nov 2009 14:36:13 +0000 (15:36 +0100)]
ALSA: usb - Quirk to disable master volume control in PCM2702

Disable the master volume control in the PCM2702 chipset.

The datasheet documents two independent channel volume controls, one
master mute control and one master volume control. All controls are
fully functional except for the master volume control, which returns
USB stalls on all GET requests.

Signed-off-by: Javier Kohen <jkohen@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/asoc' into for-next
Takashi Iwai [Tue, 17 Nov 2009 08:04:29 +0000 (09:04 +0100)]
Merge branch 'topic/asoc' into for-next

14 years agoASoC: Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK
Marin Mitov [Mon, 16 Nov 2009 19:39:26 +0000 (21:39 +0200)]
ASoC: Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK

Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Tue, 17 Nov 2009 08:00:20 +0000 (09:00 +0100)]
Merge branch 'topic/misc' into for-next

14 years agosound: Kconfig typo fix
Timothy Knoll [Tue, 17 Nov 2009 00:55:46 +0000 (19:55 -0500)]
sound: Kconfig typo fix

Fix a typo in the help text in sound/Kconfig.

Signed-off-by: Timothy Knoll <knollbert@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/misc' into for-next
Takashi Iwai [Mon, 16 Nov 2009 16:46:25 +0000 (17:46 +0100)]
Merge branch 'topic/misc' into for-next

14 years agosound: OSS: keep index within bounds of midi_devs[]
Roel Kluin [Mon, 16 Nov 2009 16:05:02 +0000 (17:05 +0100)]
sound: OSS: keep index within bounds of midi_devs[]

When the {orig,midi}_dev equals num_midis, that's one too
large already.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoASoC: OMAP: enable Overo driver for CM-T35
Mike Rapoport [Mon, 16 Nov 2009 14:19:25 +0000 (16:19 +0200)]
ASoC: OMAP: enable Overo driver for CM-T35

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Mon, 16 Nov 2009 14:38:13 +0000 (15:38 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Fix build errors with CONFIG_SND_HDA_INPUT_BEEP=n
Takashi Iwai [Mon, 16 Nov 2009 14:35:59 +0000 (15:35 +0100)]
ALSA: hda - Fix build errors with CONFIG_SND_HDA_INPUT_BEEP=n

Disable beep-related codes when CONFIG_SND_HDA_INPUT_BEEP isn't set.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - Fix beep_mode option value
Takashi Iwai [Mon, 16 Nov 2009 14:33:49 +0000 (15:33 +0100)]
ALSA: hda - Fix beep_mode option value

The beep_mode option value was wrongly defined: it must be 0 = off and
1 = on.

Also, evaluate the beep_mode value at snd_hda_attach_beep_device()
properly so that no device is created when beep_mode=0 is given.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Mon, 16 Nov 2009 13:58:53 +0000 (14:58 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Update / add kerneldoc comments to exported functions
Takashi Iwai [Mon, 16 Nov 2009 13:58:17 +0000 (14:58 +0100)]
ALSA: hda - Update / add kerneldoc comments to exported functions

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Mon, 16 Nov 2009 13:14:37 +0000 (14:14 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - move snd_hda_pcm_type_name from hda_codec.h to hda_local.h
Jaroslav Kysela [Wed, 11 Nov 2009 12:49:07 +0000 (13:49 +0100)]
ALSA: hda - move snd_hda_pcm_type_name from hda_codec.h to hda_local.h

The snd_hda_pcm_type_name array is local only.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoMerge branch 'fix/hda' into for-linus
Takashi Iwai [Mon, 16 Nov 2009 11:20:02 +0000 (12:20 +0100)]
Merge branch 'fix/hda' into for-linus

14 years agoMerge branch 'topic/hda' into for-next
Takashi Iwai [Mon, 16 Nov 2009 11:05:16 +0000 (12:05 +0100)]
Merge branch 'topic/hda' into for-next

14 years agoALSA: hda - Add description of beep_mode in ALSA-Configuration.txt
Takashi Iwai [Mon, 16 Nov 2009 11:03:49 +0000 (12:03 +0100)]
ALSA: hda - Add description of beep_mode in ALSA-Configuration.txt

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - Get rid of magic digits for subdev hack
Takashi Iwai [Mon, 16 Nov 2009 10:25:33 +0000 (11:25 +0100)]
ALSA: hda - Get rid of magic digits for subdev hack

Define a proper const for a magic 31bit flag for subdev / NID setup
with a brief comment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - proc - add support for dynamic controls to mixer<->NID mapping
Jaroslav Kysela [Thu, 12 Nov 2009 09:15:48 +0000 (10:15 +0100)]
ALSA: hda - proc - add support for dynamic controls to mixer<->NID mapping

This patch adds support for dynamically created controls to proc codec file
(Control: lines).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoALSA: hda - proc - introduce Control: lines to show mixer<->NID assignment
Jaroslav Kysela [Wed, 11 Nov 2009 12:43:01 +0000 (13:43 +0100)]
ALSA: hda - proc - introduce Control: lines to show mixer<->NID assignment

This is an initial patch to show universal control<->NID assigment in
proc codec file. The change helps to debug codec related problems.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>