drm/i915/cnl: Fix LSPCON support.
authorRodrigo Vivi <[email protected]>
Wed, 16 Aug 2017 03:04:03 +0000 (20:04 -0700)
committerRodrigo Vivi <[email protected]>
Wed, 16 Aug 2017 14:42:00 +0000 (07:42 -0700)
commitacf58d4e965d40fc014252292b0911b4c9fe6697
tree73eb65bc4854643912e94cc863e6e16b16770eaf
parentb5273d72750555a673040070bfb23c454a7cd3ef
drm/i915/cnl: Fix LSPCON support.

When LSPCON support was extended to CNL
one part was missed on lspcon_init.

So, instead of adding check per platform on lspcon_init
let's use HAS_LSPCON that is already there for that
purpose.

Fixes: ff15947e0f02 ("drm/i915/cnl: LSPCON support is gen9+")
Cc: Shashank Sharma <[email protected]>
Cc: Paulo Zanoni <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Shashank Sharma <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_lspcon.c