ALSA: asihpi - Simplify dsp code close.
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Thu, 22 Dec 2011 00:38:44 +0000 (13:38 +1300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Dec 2011 07:13:06 +0000 (08:13 +0100)
commit50d5f773ecc42fec029530f0e2e22686ccdf0ac7
tree37c42d44b6b6918004f52660c7dfe9f816d78c41
parent7036b92d303a01477e27a5a9b2d582a5df3cc8ef
ALSA: asihpi - Simplify dsp code close.

dsp_code struct is not created if firmware is invalid, so check
and zero of firmware pointer is not necessary

Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpidspcd.c