ALSA: asihpi - fix potential NULL pointer dereference
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 16:16:40 +0000 (00:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Mar 2013 07:34:36 +0000 (08:34 +0100)
commit2e9b9a3c243b1bc1fc9d1e84fcbc32568467bf8e
tree27162877fe24366ffcb66f8adfa08a780452208e
parent66efdc71d95887b652a742a5dae51fa834d71465
ALSA: asihpi - fix potential NULL pointer dereference

The dereference should be moved below the NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c