summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-10-20 10:42:24 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-21 19:47:45 -0700
commit104eb270e665f4fcd8cb8c8ab4c4d4538c604e92 (patch)
tree14d46ad4b54ace2e94fd27be1cb49e30ce15a26e /include
parente754ec69ab69601420eb2ed58ece803d77c93f61 (diff)
downloadlinux-stable-104eb270e665f4fcd8cb8c8ab4c4d4538c604e92.tar.gz
linux-stable-104eb270e665f4fcd8cb8c8ab4c4d4538c604e92.tar.bz2
linux-stable-104eb270e665f4fcd8cb8c8ab4c4d4538c604e92.zip
net: sun4i-emac: Properly free resources on probe failure and remove
Fix sun4i-emac not releasing the following resources: -iomapped memory not released on probe-failure nor on remove -clock not getting disabled on probe-failure nor on remove -sram not being released on remove And while at it also add error checking to the clk_prepare_enable call done on probe. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions