kirkwood-i2s.c (72787aa866bfa6bcbd259e7a39b2f9a2f412794e) | kirkwood-i2s.c (5013951be88e136d9990ef55303276e2779ce8d8) |
---|---|
1/* 2 * kirkwood-i2s.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 410 unchanged lines hidden (view full) --- 419 err = -ENXIO; 420 goto err_alloc; 421 } 422 423 priv->mem = request_mem_region(mem->start, SZ_16K, DRV_NAME); 424 if (!priv->mem) { 425 dev_err(&pdev->dev, "request_mem_region failed\n"); 426 err = -EBUSY; | 1/* 2 * kirkwood-i2s.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 410 unchanged lines hidden (view full) --- 419 err = -ENXIO; 420 goto err_alloc; 421 } 422 423 priv->mem = request_mem_region(mem->start, SZ_16K, DRV_NAME); 424 if (!priv->mem) { 425 dev_err(&pdev->dev, "request_mem_region failed\n"); 426 err = -EBUSY; |
427 goto error_alloc; | 427 goto err_alloc; |
428 } 429 430 priv->io = ioremap(priv->mem->start, SZ_16K); 431 if (!priv->io) { 432 dev_err(&pdev->dev, "ioremap failed\n"); 433 err = -ENOMEM; 434 goto err_iomem; 435 } --- 67 unchanged lines hidden --- | 428 } 429 430 priv->io = ioremap(priv->mem->start, SZ_16K); 431 if (!priv->io) { 432 dev_err(&pdev->dev, "ioremap failed\n"); 433 err = -ENOMEM; 434 goto err_iomem; 435 } --- 67 unchanged lines hidden --- |