[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200831124148.wxklchu3bygnumt4@gilmour.lan>
Date: Mon, 31 Aug 2020 14:41:48 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Ondrej Jirman <megous@...ous.com>
Cc: linux-sunxi@...glegroups.com,
Jernej Skrabec <jernej.skrabec@...l.net>,
Chen-Yu Tsai <wens@...e.org>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
"open list:DRM DRIVERS FOR ALLWINNER A10"
<dri-devel@...ts.freedesktop.org>,
"moderated list:ARM/Allwinner sunXi SoC support"
<linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] drm/sun4i: Fix dsi dcs long write function
On Fri, Aug 28, 2020 at 02:50:32PM +0200, Ondrej Jirman wrote:
> 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@...ous.com>
> Reviewed-by: Jernej Skrabec <jernej.skrabec@...l.net>
Applied, thanks
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists