commit | e8c3d1bb011188202793894e63b02fec12360d0c | [log] [tgz] |
---|---|---|
author | Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> | Tue Mar 26 10:01:24 2019 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Apr 12 11:17:39 2019 +0530 |
tree | 941cff256e121e275fd256f29a3275536f192690 | |
parent | 3a3146c44a36da5edd5656868b9930d116b4114b [diff] |
spi: spi-mem: Check if exec_op function is set before calling it Add check if exec_op is set before calling it. At the moment it is called unconditionally, which leads to a crash if it is not set correctly. Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>