[PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable
Tomi Valkeinen
tomi.valkeinen at ti.com
Fri May 3 13:08:45 UTC 2019
On 03/05/2019 15:55, Laurent Pinchart wrote:
>>>>
>>>> - if (state) {
>>>> - ret = tc_set_video_mode(tc, tc->mode);
>>>> - if (ret)
>>>> - goto err;
>>>> + ret = tc_set_video_mode(tc, tc->mode);
>>>> + if (ret)
>>>> + goto err;
>>>
>>> Let's return ret directly and remove the err label.
>>
>> Can't remove the err label, because of the tc_write() calls...
>
> :-(
>
> I'd love to see this getting fixed. The best way I've found so far would
> be
And by fixed you mean cleaned up?
Yes, it's a mess. That's why I want to get this series merged asap, so
Andrey can rebase his series, and we can proceed with all the cleanups
=). His series removes these macros that require the err label.
Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the dri-devel
mailing list