lkml.org 
[lkml]   [2021]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] drm: Grab reference of connector before return connector from sun4i_tcon_get_connector
From
Date

在 2021/11/1 21:02, Jani Nikula 写道:
> On Mon, 01 Nov 2021, He Ying <heying24@huawei.com> wrote:
>> From the comments of drm_for_each_connector_iter(), we know
>> that "connector is only valid within the list body, if you
>> want to use connector after calling drm_connector_list_iter_end()
>> then you need to grab your own reference first using
>> drm_connector_get()". So fix the wrong use of connector
>> according to the comments and then call drm_connector_put()
>> after using connector finishes.
>>
>> Signed-off-by: He Ying <heying24@huawei.com>
> Please use "drm/sun4i:" subject prefix for sun4i patches.

OK. I'll send a V2 later. By the way, may I have your suggestions about

this patch's content.

\
 
 \ /
  Last update: 2021-11-02 03:50    [W:0.098 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site