Wei Yongjun
a4469a429f
spi: mpc512x: fix reference leak to master in mpc512x_psc_spi_do_remove()
...
Once a spi_master_get() call succeeds, we need an additional
spi_master_put() call to free the memory, otherwise we will
leak a reference to master. Fix by removing the unnecessary
spi_master_get() call.
Fixes: eaa24297846b ('spi: mpc512x: use devm_spi_register_master()')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-11-15 10:29:38 +00:00
..
2013-10-25 09:51:37 +01:00
2013-10-07 14:50:43 +01:00
2013-10-07 14:50:43 +01:00
2013-10-23 10:38:46 +01:00
2013-10-25 09:51:36 +01:00
2013-09-26 11:41:18 +01:00
2013-09-26 11:41:18 +01:00
2013-10-25 09:51:21 +01:00
2013-10-25 09:51:21 +01:00
2013-09-26 11:42:23 +01:00
2013-10-14 18:23:48 +01:00
2013-10-25 09:51:23 +01:00
2013-10-25 09:51:24 +01:00
2013-10-25 09:51:25 +01:00
2013-10-14 18:21:00 +01:00
2013-10-16 19:07:15 +01:00
2013-10-09 12:00:42 +01:00
2013-10-25 09:51:21 +01:00
2013-10-16 19:07:15 +01:00
2013-10-25 09:51:27 +01:00
2013-10-16 19:07:15 +01:00
2013-10-25 09:51:28 +01:00
2013-10-25 09:51:29 +01:00
2013-10-07 14:50:43 +01:00
2013-10-16 19:07:15 +01:00
2013-11-15 10:29:38 +00:00
2013-10-25 09:51:34 +01:00
2013-10-07 14:50:43 +01:00
2013-10-07 14:50:43 +01:00
2013-09-26 11:42:34 +01:00
2013-10-25 09:51:21 +01:00
2013-09-26 11:42:35 +01:00
2013-10-09 12:07:50 +01:00
2013-10-25 09:51:35 +01:00
2013-10-25 09:51:35 +01:00
2013-10-07 14:50:43 +01:00
2013-10-25 09:51:21 +01:00
2013-10-10 11:23:25 +01:00
2013-10-25 09:51:38 +01:00
2013-10-25 09:51:38 +01:00
2013-10-25 09:51:28 +01:00
2013-10-07 14:50:43 +01:00
2013-10-07 14:50:43 +01:00
2013-10-25 09:51:39 +01:00
2013-10-25 09:51:39 +01:00
2013-10-25 09:51:40 +01:00
2013-10-07 12:02:26 +01:00
2013-10-25 09:51:40 +01:00
2013-10-25 09:51:41 +01:00
2013-10-07 14:50:43 +01:00
2013-10-25 09:51:29 +01:00
2013-10-15 13:15:52 +01:00