Searched hist:"382 f8be04551d60c3e0c4103ce2941c3f335279e" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/soc/amlogic/ |
H A D | meson-canvas.c | diff 382f8be04551d60c3e0c4103ce2941c3f335279e Mon Feb 04 10:49:37 CET 2019 Neil Armstrong <narmstrong@baylibre.com> soc: amlogic: canvas: Fix meson_canvas_get when probe failed
When probe fails, a platforn_device is still associated to the node, but dev_get_drvdata() returns NULL.
Handle this case by returning a consistent error.
Fixes: d4983983d987 ("soc: amlogic: add meson-canvas driver") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Maxime Jourdan <mjourdan@baylibre.com> [khilman: fixed minor typo in comment ] Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|