]> git.baikalelectronics.ru Git - kernel.git/commit
soc: brcmstb: Unmap sun_top_ctrl_base on errors
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 25 Apr 2016 23:08:09 +0000 (16:08 -0700)
committerArnd Bergmann <arnd@arndb.de>
Mon, 25 Apr 2016 23:13:54 +0000 (01:13 +0200)
commitf7382c526e6b0788e855d0403a676a12d12a67a8
tree666936a84652323e1569bf3af26e0aff4c10d2f0
parent390f3bc4f630ec6ae9cbe9ce28f48c05767b643d
soc: brcmstb: Unmap sun_top_ctrl_base on errors

Do not leak a ioremap()'d cookie around, unmaping it in case of errors

Fixes: 6065de8df9b3 ("soc: brcmstb: add SoC driver to brcmstb")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/brcmstb/common.c