Files
i2som-imx-linux/drivers/spi
Johan Hovold 1dcdf54f24 spi: fix parent-device reference leak
commit 157f38f993 upstream.

Fix parent-device reference leak due to SPI-core taking an unnecessary
reference to the parent when allocating the master structure, a
reference that was never released.

Note that driver core takes its own reference to the parent when the
master device is registered.

Fixes: 49dce689ad ("spi doesn't need class_device")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-19 14:22:38 -08:00
..
2015-02-05 22:35:36 -08:00
2014-12-06 15:05:49 -08:00
2013-06-04 18:51:40 +01:00
2013-04-23 19:27:00 +01:00
2016-02-19 14:22:38 -08:00