]> git.baikalelectronics.ru Git - kernel.git/commit
cpsw: fix leaking IO mappings
authorRichard Cochran <richardcochran@gmail.com>
Fri, 2 Nov 2012 22:25:30 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 19:37:36 +0000 (15:37 -0400)
commitb85fc5e28503324e463045b4e91364e4d7f0228a
tree1c9bc1ab3735c8e322393112b9b89e764ab747cd
parentdd8584748a30680340bdc7907e9e7dc2f5362ef5
cpsw: fix leaking IO mappings

The CPSW driver remaps two different IO regions, but fails to unmap them
both. This patch fixes the issue by calling iounmap in the appropriate
places.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c