diff options
author | 2012-08-18 09:29:21 -0700 | |
---|---|---|
committer | 2012-08-22 19:26:36 +0100 | |
commit | 866c0f25d2dc896e647970cf5e371b5083a6e5d5 (patch) | |
tree | b8d376d6b0c3602aeb16225c6d7f8e101bed4b23 /drivers/spi/spi-mpc52xx-psc.c | |
parent | spi/pl022: Fix device remove function (diff) | |
download | wireguard-linux-866c0f25d2dc896e647970cf5e371b5083a6e5d5.tar.xz wireguard-linux-866c0f25d2dc896e647970cf5e371b5083a6e5d5.zip |
spi/mpc52xx: Fix error handling in probe function
The call to spi_master_put() is needed to free device memory. It must be called
after spi_alloc_master, and must only be called after the device memory is no
longer used.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-mpc52xx-psc.c')
0 files changed, 0 insertions, 0 deletions