diff options
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r-- | sound/arm/aaci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 5c48e36038f2..dc78272fc39f 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c | |||
@@ -1089,7 +1089,7 @@ static int __devinit aaci_probe(struct amba_device *dev, struct amba_id *id) | |||
1089 | goto out; | 1089 | goto out; |
1090 | } | 1090 | } |
1091 | 1091 | ||
1092 | aaci->base = ioremap(dev->res.start, SZ_4K); | 1092 | aaci->base = ioremap(dev->res.start, resource_size(&dev->res)); |
1093 | if (!aaci->base) { | 1093 | if (!aaci->base) { |
1094 | ret = -ENOMEM; | 1094 | ret = -ENOMEM; |
1095 | goto out; | 1095 | goto out; |