From: Takashi Iwai Date: Mon, 23 Jan 2012 16:10:24 +0000 (+0100) Subject: ALSA: hda - Fix buffer-alignment regression with Nvidia HDMI X-Git-Tag: v3.3-rc2~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52409aa6a0e96337da137c069856298f4dd825a0;p=pandora-kernel.git ALSA: hda - Fix buffer-alignment regression with Nvidia HDMI 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 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed