linux/drivers/soc/amlogic
Neil Armstrong 382f8be045 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: d4983983d9 ("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>
2019-02-07 16:31:30 -08:00
..
Kconfig soc: amlogic: meson-clk-measure: Add missing REGMAP_MMIO dependency 2018-12-10 12:16:22 -08:00
Makefile soc: amlogic: Add Meson Clock Measure driver 2018-11-28 16:55:35 -08:00
meson-canvas.c soc: amlogic: canvas: Fix meson_canvas_get when probe failed 2019-02-07 16:31:30 -08:00
meson-clk-measure.c soc: amlogic: Add Meson Clock Measure driver 2018-11-28 16:55:35 -08:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: fix error on shutdown when domain is powered off 2018-02-12 14:15:46 -08:00
meson-gx-socinfo.c amlogic: meson-gx-socinfo: Update soc ids 2018-03-19 16:40:26 -07:00
meson-mx-socinfo.c meson-mx-socinfo: Make local function meson_mx_socinfo_init() static 2018-02-12 14:15:47 -08:00