Commit f3f6cc81 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sekhar Nori
Browse files

ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

If 'sram_alloc' fails, we need to free already allocated resources.

Fixes: aa9aa1ec

 ("ARM: davinci: PM: rework init, remove platform device")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 2ea659a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment