commit | 866c0f25d2dc896e647970cf5e371b5083a6e5d5 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Aug 18 09:29:21 2012 -0700 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Aug 22 19:26:36 2012 +0100 |
tree | b8d376d6b0c3602aeb16225c6d7f8e101bed4b23 | |
parent | 495e3ff365425f9b69884ddde36047184f37c2bd [diff] |
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>