ALSA: hda: take reg_lock in azx_init_cmd_io/azx_free_cmd_io
authorWu Fengguang <fengguang.wu@intel.com>
Sat, 1 Aug 2009 10:47:41 +0000 (18:47 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2009 06:26:42 +0000 (08:26 +0200)
commitcdb1fbf23181c133fb24f12ad14ccea7dc399599
tree7bb40ad22516f51e31a8e4aa11db0facd75fd574
parenta678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: take reg_lock in azx_init_cmd_io/azx_free_cmd_io

Just for safety.  azx_init_cmd_io() and azx_free_cmd_io() may be
called when switching to single command mode.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c