commit | 638a542cc450e5dca52c82437d746548c0bcbd8b | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Sat Aug 10 18:52:16 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Aug 14 13:55:15 2013 +0530 |
tree | c77d879345998f76165543e5bd8f7546127e1e9d | |
parent | 8b298ded902a96cf434738d2a1d83f4a768362ea [diff] |
dma: mmp_pdma: refactor unlocking path in lookup_phy() As suggested by Ezequiel GarcĂa, release the spinlock at the end of the function only, and use a goto for the control flow. Just a minor cleanup. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>