[ALSA] hda-intel - Fix HDA buffer alignment
authorJoachim Deguara <joachim.deguara@amd.com>
Fri, 16 Mar 2007 14:01:36 +0000 (15:01 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 16 Mar 2007 14:02:15 +0000 (15:02 +0100)
commit5f1545bc45a33361d6bb2fb44af7c35bcd733b9d
tree2097dce16d2a7e15c2c9dba0ab99e59d5bd6be45
parenta8a5d06775f54ab2d23ad6455db399c15a664feb
[ALSA] hda-intel - Fix HDA buffer alignment

From the HDA spec it appears that the buffers written to the BDL and
sent to a codec must be 128 byte aligned (section 4.5.1).  The alignment
was not happening especially when playing 6 channels.  This patch set
the alignment of buffers and periods to 128 bytes.

Signed-off-by: Joachim Deguara <joachim.deguara@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_intel.c