lkml.org 
[lkml]   [2011]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH v3] DRM: add DRM Driver for Samsung SoC EXYNOS4210.
>> +static void samsung_drm_connector_destroy(struct drm_connector *connector)
>> +{
>> + struct samsung_drm_connector *samsung_connector =
>> + to_samsung_connector(connector);
>> +
>> + DRM_DEBUG_KMS("%s\n", __FILE__);
>> +
>> + drm_sysfs_connector_remove(connector);
>> + drm_connector_cleanup(connector);
>> + connector->dev->mode_config.num_connector--;
>
> I wonder if num_connector-- should be in drm_connector_cleanup()..
>

Right, num_connector and num_encoder of mode_config should be decreased
in the cleanup functions, but currently drm driver is missing it.

I sent the patch.

Thanks.


\
 
 \ /
  Last update: 2011-08-31 04:33    [W:0.081 / U:1.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site