drm/i915/cnl: Add missing type case.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 10 Jul 2017 20:58:52 +0000 (13:58 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 11 Jul 2017 14:04:13 +0000 (07:04 -0700)
commit61f3e7704897188d85e5698980316f2929a7c753
tree7d17c89cc73193c945c465380c0658faf1b7d111
parent953152253e9cbd4f358d4b4ca56d48072af3846d
drm/i915/cnl: Add missing type case.

Paulo had noticed that inside cnl_ddi_vswing_program
the case was handling voltage but with no indication
of type where a missing type could also take us to that
path. So my first attempt was to add a message to
let clear who trigger that path.

However DK had a better idea that is to handle the
missed type sooner before it might take to that path.
So this v2 here uses his approach.

v2: Handle missed type sooner.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170710205852.28352-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_ddi.c