drm/i915: Use BUG() in a case of a programming error
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 7 Mar 2013 15:30:28 +0000 (15:30 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 23 Mar 2013 12:31:20 +0000 (13:31 +0100)
commitad1c0b1974c31f16407f983b7e6ea3511ec2a726
tree7f91eeb22b658fbff9fefe55c17bd442bcd437bf
parent8228c251ba5eda4c74aa1c6306f0057a419ec1c7
drm/i915: Use BUG() in a case of a programming error

The port number should always be correctly set. Do the same thing as the
switch above and use BUG() to signal that branch is not supposed to be
taken.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
This page took 0.026058 seconds and 5 git commands to generate.