diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/rme32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index df184aabce84..e7ef3a1a25a8 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c | |||
@@ -1350,7 +1350,8 @@ static int __devinit snd_rme32_create(struct rme32 * rme32) | |||
1350 | return err; | 1350 | return err; |
1351 | rme32->port = pci_resource_start(rme32->pci, 0); | 1351 | rme32->port = pci_resource_start(rme32->pci, 0); |
1352 | 1352 | ||
1353 | if ((rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE)) == 0) { | 1353 | rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE); |
1354 | if (!rme32->iobase) { | ||
1354 | snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n", | 1355 | snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n", |
1355 | rme32->port, rme32->port + RME32_IO_SIZE - 1); | 1356 | rme32->port, rme32->port + RME32_IO_SIZE - 1); |
1356 | return -ENOMEM; | 1357 | return -ENOMEM; |