diff options
| author | Takashi Iwai <[email protected]> | 2011-07-18 14:54:40 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2011-07-18 14:54:40 +0000 |
| commit | 3b607e3d3a2538e06686c8c26057f95471ac1f9c (patch) | |
| tree | 8c795f35ffa819a1edb571251a08770dc93b612a /lib/dynamic_debug.c | |
| parent | ALSA: hda - Implement dynamic loopback control for VIA codecs (diff) | |
| download | kernel-3b607e3d3a2538e06686c8c26057f95471ac1f9c.tar.gz kernel-3b607e3d3a2538e06686c8c26057f95471ac1f9c.zip | |
ALSA: hda - Switch HP DAC dynamically with indep-HP switch for VIA
This patch changes the behavior of independent-HP enum switch. Now
instead of returning a busy error, the driver switches dynamically the
stream of the HP (and shared) DACs according to the current mode.
The logic is similar like the dual-mic ADC switch, but a bit more
complicated because of the presence of shared DAC.
Together with the change, a mutex is introduced to protect against the
possible races for the indep-HP mode setting.
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
