diff --git a/[refs] b/[refs] index e4e4eeac5424..3c8c267d4672 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e37273d3484e241063fefb2611a0c93eb0d9ddbd +refs/heads/master: 4db9e4f2b5278338ff9487eefdc8e32109aa0552 diff --git a/trunk/sound/pci/rme32.c b/trunk/sound/pci/rme32.c index df184aabce84..e7ef3a1a25a8 100644 --- a/trunk/sound/pci/rme32.c +++ b/trunk/sound/pci/rme32.c @@ -1350,7 +1350,8 @@ static int __devinit snd_rme32_create(struct rme32 * rme32) return err; rme32->port = pci_resource_start(rme32->pci, 0); - if ((rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE)) == 0) { + rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE); + if (!rme32->iobase) { snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n", rme32->port, rme32->port + RME32_IO_SIZE - 1); return -ENOMEM;