diff options
| author | Bernhard Messerklinger <[email protected]> | 2019-03-26 10:01:24 +0100 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-04-12 11:17:39 +0530 |
| commit | 567a3eb7956f98af4ed065499898c6d0ac6443c7 (patch) | |
| tree | 941cff256e121e275fd256f29a3275536f192690 /scripts/basic | |
| parent | 3f3aef4b9dc88278f31567fe6f26095fd9477b1a (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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
