diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-23 17:10:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-03 09:21:21 -0800 |
commit | f0e6e77be248a10fa494d4624fa14b491fd678fd (patch) | |
tree | 9b08ce3a6ff5db942deb366eaf0ca9acdf04cf47 /sound/pci/hda/patch_hdmi.c | |
parent | 3499d6424f682a58761d827012567c552b053842 (diff) |
ALSA: hda - Fix buffer-alignment regression with Nvidia HDMI
commit 52409aa6a0e96337da137c069856298f4dd825a0 upstream.
The commit 2ae66c26550cd94b0e2606a9275eb0ab7070ad0e
ALSA: hda: option to enable arbitrary buffer/period sizes
introduced a regression on machines with Intel controller and Nvidia
HDMI. The reason is that the driver modifies the global variable
align_buffer_size when an Intel controller is found, and the Nvidia
HDMI controller is probed after Intel although Nvidia chips require
the aligned buffers.
This patch fixes the problem by moving the flag into the local struct
so that it's not affected by other controllers.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42567
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
0 files changed, 0 insertions, 0 deletions