Yang Yingliang d87ad457f7 video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
In pxa3xx_gcu_probe(), the sequence of error lable is wrong, it will
leads some resource leaked, so adjust the sequence to handle the error
correctly, and if pxa3xx_gcu_add_buffer() fails, pxa3xx_gcu_free_buffers()
need be called.
In pxa3xx_gcu_remove(), add missing clk_disable_unpreprare().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2022-05-19 11:36:16 +02:00
..
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-15 17:31:50 +01:00
2020-02-19 10:58:22 -08:00
2020-10-15 10:46:16 -07:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2022-03-24 16:19:43 -07:00
2020-01-30 08:04:01 -08:00
2020-10-15 08:12:59 +02:00
2022-02-01 19:02:41 +10:00