ALSA: fireworks: Fix wrong value as argument for PTR_ERR()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 27 May 2014 15:14:38 +0000 (00:14 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 May 2014 15:34:52 +0000 (17:34 +0200)
commitba06b2cbad2b97ee107667ab511f40b9be4f6846
tree6638b95f9f3de9e11dea6bb1b5130d93eee16553
parent51212eea4f0e2ba9086d0949a524f81834d20ac4
ALSA: fireworks: Fix wrong value as argument for PTR_ERR()

The return value of memdup_user() should be passed to return correct error.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks_hwdep.c