Home
last modified time | relevance | path

Searched hist:"3 dc0a5efc597d1fd4dde518da781b8314d46f817" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Dspi-mem.c3dc0a5efc597d1fd4dde518da781b8314d46f817 Tue Mar 26 09:01:24 UTC 2019 Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> UPSTREAM: 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>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 567a3eb7956f98af4ed065499898c6d0ac6443c7)
Change-Id: Ie9fdf0cbee364fc33965e3234d7457702bd0120f