ALSA: asihpi - bug fix pa use before init.
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Wed, 27 Jul 2011 08:03:51 +0000 (20:03 +1200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 08:08:26 +0000 (10:08 +0200)
commit767cd365b22820df07b962b49ce04b220b98e537
tree8e436adc58536dc73b16390d122140a67c5e93bb
parent45eebda7b4a73deb268b0cbcde06b603a2ba46a2
ALSA: asihpi - bug fix pa use before init.

Fixes bug introduced by 1c073b67.
Also declare pa local to block in which it is used.

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