Re: [PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-05-03 Thread Tomi Valkeinen
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

Re: [PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-05-03 Thread Laurent Pinchart
Hi Tomi, On Fri, May 03, 2019 at 12:20:49PM +0300, Tomi Valkeinen wrote: > On 21/04/2019 00:29, Laurent Pinchart wrote: > > On Tue, Mar 26, 2019 at 12:31:32PM +0200, Tomi Valkeinen wrote: > >> It is nicer to have enable/disable functions instead of set(bool enable) > >> style function. > > > > Wh

Re: [PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-05-03 Thread Tomi Valkeinen
On 21/04/2019 00:29, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > On Tue, Mar 26, 2019 at 12:31:32PM +0200, Tomi Valkeinen wrote: >> It is nicer to have enable/disable functions instead of set(bool enable) >> style function. > > When the two functions have nothing in commo

Re: [PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-04-20 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Tue, Mar 26, 2019 at 12:31:32PM +0200, Tomi Valkeinen wrote: > It is nicer to have enable/disable functions instead of set(bool enable) > style function. When the two functions have nothing in common, yes. > Split tc_main_link_stream into tc_stream_enable an

Re: [PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-04-15 Thread Andrzej Hajda
On 26.03.2019 11:31, Tomi Valkeinen wrote: > It is nicer to have enable/disable functions instead of set(bool enable) > style function. > > Split tc_main_link_stream into tc_stream_enable and tc_stream_disable. So my comment regarding previous patch was already addresed :) > > Signed-off-by: To

[PATCHv2 08/22] drm/bridge: tc358767: split stream enable/disable

2019-03-26 Thread Tomi Valkeinen
It is nicer to have enable/disable functions instead of set(bool enable) style function. Split tc_main_link_stream into tc_stream_enable and tc_stream_disable. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 81 +-- 1 file changed, 45 insertions