projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673f7a8
)
ALSA: atmel - Fix the return value in error path
author
Takashi Iwai
<tiwai@suse.de>
Mon, 22 Nov 2010 07:58:13 +0000
(08:58 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 22 Nov 2010 09:57:17 +0000
(10:57 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/sound/atmel/abdac.c
b/sound/atmel/abdac.c
index 4e47baada66ffd0e5e9fe9919809ebdf25d147dd..6e24091818950edc9c298241be2d28a751b39f83 100644
(file)
--- a/
sound/atmel/abdac.c
+++ b/
sound/atmel/abdac.c
@@
-422,7
+422,7
@@
static int __devinit atmel_abdac_probe(struct platform_device *pdev)
sample_clk = clk_get(&pdev->dev, "sample_clk");
if (IS_ERR(sample_clk)) {
dev_dbg(&pdev->dev, "no sample clock\n");
- retval = PTR_ERR(
p
clk);
+ retval = PTR_ERR(
sample_
clk);
goto out_put_pclk;
}
clk_enable(pclk);