ALSA: atmel - Fix the return value in error path
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Nov 2010 07:58:13 +0000 (08:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Nov 2010 09:57:17 +0000 (10:57 +0100)
commit1beded5d9ce90256e4a7e7b0e96c317eafe1c513
tree4259cbf7670307f8c89e6cdbba6fa0e82f1f1048
parent673f7a8984c3a9e2cb1108ce221da1ebbd9e5d09
ALSA: atmel - Fix the return value in error path

In the commit c0763e687d0283d0db507813ca4462aa4073c5b5
    ALSA: snd-atmel-abdac: test wrong variable
the return value via PTR_ERR() had to be fixed as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/abdac.c