Re: [PATCH v2] drm/bridge: ti-sn65dsi83: Do not cache dsi_lanes and host twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marek,
On Sun, Jun 12, 2022 at 12:29:18PM +0200, Marek Vasut wrote:
> The DSI lane count can be accessed via the dsi device pointer, make use
> of that. The DSI host pointer is only used in sn65dsi83_host_attach(),
> move the code around so that the host does not have to be cached in the
> driver private data. This simplifies the code further. No functional
> change.
> 
> This has the added bonus that lt9211, tc358767, sn65dsi83 now use very
> similar *_mipi_dsi_host_attach() which is ripe for deduplication.
> 
> Signed-off-by: Marek Vasut <marex@xxxxxxx>
> Cc: Andrzej Hajda <andrzej.hajda@xxxxxxxxx>
> Cc: Laurent Pinchart <Laurent.pinchart@xxxxxxxxxxxxxxxx>
> Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> Cc: Maxime Ripard <maxime@xxxxxxxxxx>
> Cc: Robert Foss <robert.foss@xxxxxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>

Looks OK,
Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux