Skip to content
Commit 567a3eb7 authored by Bernhard Messerklinger's avatar Bernhard Messerklinger Committed by Jagan Teki
Browse files

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: default avatarBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 3f3aef4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment