Re: [PATCH v2 1/6] misc: sram: fix error path in sram_probe

2013-07-04 Thread Heiko Stübner
Hi Philipp, Am Dienstag, 25. Juni 2013, 11:04:34 schrieb Philipp Zabel: Hi Heiko, Am Dienstag, den 25.06.2013, 10:46 +0200 schrieb Heiko Stübner: The pool is created thru devm_gen_pool_create, so the call to gen_pool_destroy is not necessary. Instead the sram-clock must be turned off

[PATCH v2 1/6] misc: sram: fix error path in sram_probe

2013-06-25 Thread Heiko Stübner
The pool is created thru devm_gen_pool_create, so the call to gen_pool_destroy is not necessary. Instead the sram-clock must be turned off again if it exists. Signed-off-by: Heiko Stuebner he...@sntech.de --- drivers/misc/sram.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH v2 1/6] misc: sram: fix error path in sram_probe

2013-06-25 Thread Philipp Zabel
Hi Heiko, Am Dienstag, den 25.06.2013, 10:46 +0200 schrieb Heiko Stübner: The pool is created thru devm_gen_pool_create, so the call to gen_pool_destroy is not necessary. Instead the sram-clock must be turned off again if it exists. Signed-off-by: Heiko Stuebner he...@sntech.de ---