Re: [PATCH 1/2] ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

2017-05-17 Thread Sekhar Nori
On Saturday 13 May 2017 05:10 PM, Christophe JAILLET wrote: > If 'sram_alloc' fails, we need to free already allocated resources. > > Fixes: aa9aa1ec2df6 ("ARM: davinci: PM: rework init, remove platform device") > Signed-off-by: Christophe JAILLET Applied to fixes

Re: [PATCH 1/2] ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

2017-05-17 Thread Sekhar Nori
On Saturday 13 May 2017 05:10 PM, Christophe JAILLET wrote: > If 'sram_alloc' fails, we need to free already allocated resources. > > Fixes: aa9aa1ec2df6 ("ARM: davinci: PM: rework init, remove platform device") > Signed-off-by: Christophe JAILLET Applied to fixes for v4.12. Thanks, Sekhar

[PATCH 1/2] ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

2017-05-13 Thread Christophe JAILLET
If 'sram_alloc' fails, we need to free already allocated resources. Fixes: aa9aa1ec2df6 ("ARM: davinci: PM: rework init, remove platform device") Signed-off-by: Christophe JAILLET --- arch/arm/mach-davinci/pm.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH 1/2] ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

2017-05-13 Thread Christophe JAILLET
If 'sram_alloc' fails, we need to free already allocated resources. Fixes: aa9aa1ec2df6 ("ARM: davinci: PM: rework init, remove platform device") Signed-off-by: Christophe JAILLET --- arch/arm/mach-davinci/pm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git