commit | ad1c0b1974c31f16407f983b7e6ea3511ec2a726 | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Thu Mar 07 15:30:28 2013 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Sat Mar 23 13:31:20 2013 +0100 |
tree | 7f91eeb22b658fbff9fefe55c17bd442bcd437bf | |
parent | 8228c251ba5eda4c74aa1c6306f0057a419ec1c7 [diff] |
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>