ALSA: hda - Fix caching of SPDIF status bits
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Nov 2008 07:17:20 +0000 (08:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Nov 2008 09:31:44 +0000 (10:31 +0100)
commit9e97697666d0e7494946cfb639f6a9faacd5f1b0
tree397cdf9d0950d511425874b1534003469058aaa9
parentb0fc5e043401df4cd243352f1030c4d23e767347
ALSA: hda - Fix caching of SPDIF status bits

SPDIF status bits controls are written via snd_hda_codec_write()
without caching.  This causes a regression at resume that the bits
are lost.

Simply replacing it with the cached version fixes the problem.

Reference:
http://lkml.org/lkml/2008/11/24/324

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