sound: fix check for return value in snd_pcm_hw_refine
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Sun, 21 Jun 2009 18:26:59 +0000 (20:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2009 05:54:21 +0000 (07:54 +0200)
commit8bd9bca3c1a214350e2f2f1e2fd493ed24c06f7e
tree36b727c9c87a326fbd5ad1af4f1b2259532d2b0b
parent4f64e150191bfddc7f5c0768f325f747dbca1913
sound: fix check for return value in snd_pcm_hw_refine

'params' is a pointer and looking at the code this probably should be a check
for ioctl return value.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c