]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Actually attach the tv_format property to the SDVO connector
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Jun 2017 17:23:08 +0000 (20:23 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Jun 2017 12:46:57 +0000 (15:46 +0300)
commitf733db1ca3cb79f1be8802b50d2601991c6a8182
tree47c541bde3d32ca8d70caad25573b73e72932397
parent3f7738c3369769d9859414d93a05a6ebc5b65ddc
drm/i915: Actually attach the tv_format property to the SDVO connector

Attach the tv_format property to the SDVO connector instead of passing
a '0' in place of the pointer to the property. This got broken when
the SDVO connector properties were converted to atomic.

We can thank sparse for catching this:
drivers/gpu/drm/i915/intel_sdvo.c:2742:75: warning: Using plain integer as NULL pointer

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: d5249ac2d9ac ("drm/i915: Convert intel_sdvo connector properties to atomic.")
Link: http://patchwork.freedesktop.org/patch/msgid/20170615172308.10121-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_sdvo.c