Re: [PATCH v2 5/5] drm/bridge/synopsys: dsi :remove is_panel_bridge

From: Benjamin Gaignard
Date: Tue Oct 03 2017 - 08:55:15 EST


2017-10-03 11:24 GMT+02:00 Emil Velikov <emil.l.velikov@xxxxxxxxx>:
> On 2 October 2017 at 10:34, Benjamin Gaignard
> <benjamin.gaignard@xxxxxxxxxx> wrote:
>> When using drm_of_panel_bridge_remove() we can simplify the
>> code and remove is_panel_bridge from dw_mipi_dsi structure.
>>
> As the previous patches remove the struct drm_bridge pointer, it might
> be worth mentioning why that cannot be done here?
>
> If you agree, please don't resent the patches - just amend before pushing.

Will add that:
Because drm_bridge pointer is used in attach and post_disable functions it can't
be removed from internal driver structure .

>
> Thanks
> Emil