summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorOndrej Jirman <megous@megous.com>2020-08-28 14:50:32 +0200
committerMaxime Ripard <maxime@cerno.tech>2020-08-31 14:36:00 +0200
commitfd90e3808fd2c207560270c39b86b71af2231aa1 (patch)
tree3d13ce533af2fedf8430360e6b9d80a80f581ed8 /Documentation/driver-api
parent3b5b005ef7d9e2ff1693c1d14a0f4459dcedb4e0 (diff)
drm/sun4i: Fix dsi dcs long write function
It's writing too much data. regmap_bulk_write expects number of register sized chunks to write, not a byte sized length of the bounce buffer. Bounce buffer needs to be padded too, so that regmap_bulk_write will not read past the end of the buffer. Fixes: 133add5b5ad4 ("drm/sun4i: Add Allwinner A31 MIPI-DSI controller support") Signed-off-by: Ondrej Jirman <megous@megous.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://patchwork.freedesktop.org/patch/msgid/20200828125032.937148-1-megous@megous.com
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions