ALSA: hda - Don't reset BDL unnecessarily
authorTakashi Iwai <tiwai@suse.de>
Wed, 18 Mar 2009 14:09:13 +0000 (15:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2009 11:53:58 +0000 (12:53 +0100)
commit97b71c94d691728b82052e9c4d6286fbc9965d7f
treeb4a705037721a468234e13bd104e2f00f7940de8
parent4a1007934591fd0dcdf13454a6faebfcbe1a4ee6
ALSA: hda - Don't reset BDL unnecessarily

So far, the prepare callback is called multiple times, BDL entries
are reset and re-programmed at each time.

This patch adds the check to avoid the reset of BDL entries when the
same parameters are used.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c