mbox series

[-next,v2,0/2] ARM: imx: free resources

Message ID 20210615125239.1348845-1-yangyingliang@huawei.com (mailing list archive)
Headers show
Series ARM: imx: free resources | expand

Message

Yang Yingliang June 15, 2021, 12:52 p.m. UTC
mmdc_base need be unmapped and mmdc_ipg_clk need be disable and unprepared
in remove and error path.

v2:
  hold mmdc_base in structure and free the resources on error path.

Yang Yingliang (2):
  ARM: imx: add missing iounmap()
  ARM: imx: add missing clk_disable_unprepare()

 arch/arm/mach-imx/mmdc.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

Comments

Shawn Guo July 14, 2021, 7:19 a.m. UTC | #1
On Tue, Jun 15, 2021 at 08:52:37PM +0800, Yang Yingliang wrote:
> mmdc_base need be unmapped and mmdc_ipg_clk need be disable and unprepared
> in remove and error path.
> 
> v2:
>   hold mmdc_base in structure and free the resources on error path.
> 
> Yang Yingliang (2):
>   ARM: imx: add missing iounmap()
>   ARM: imx: add missing clk_disable_unprepare()

Applied both, thanks.