projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0153c3
)
ALSA: hda/tegra check correct return value from ioremap_resource
author
Eliot Blennerhassett
<eliot@blennerhassett.gen.nz>
Sat, 14 Feb 2015 02:32:24 +0000
(15:32 +1300)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 14 Feb 2015 07:57:15 +0000
(08:57 +0100)
Signed-off-by: Eliot Blennerhassett <eliot@blennerhassett.gen.nz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_tegra.c
b/sound/pci/hda/hda_tegra.c
index 227990bc02e38cb459921ea5f08d7945eb540b51..375e94f4cf5265ba19378f96998658a5e4fed91c 100644
(file)
--- a/
sound/pci/hda/hda_tegra.c
+++ b/
sound/pci/hda/hda_tegra.c
@@
-329,8
+329,8
@@
static int hda_tegra_init_chip(struct azx *chip, struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
hda->regs = devm_ioremap_resource(dev, res);
- if (IS_ERR(
chip->remap_addr
))
- return PTR_ERR(
chip->remap_addr
);
+ if (IS_ERR(
hda->regs
))
+ return PTR_ERR(
hda->regs
);
chip->remap_addr = hda->regs + HDA_BAR0;
chip->addr = res->start + HDA_BAR0;