drm/i915/skl: Replace BUG() by MISSING_CASE() in skl_plane_ctl_format()

Let's be consistent with the others skl_plane_ctl_*() functions and use
a MISSING_CASE(). Not only that, but it's a rude to BUG() the whole
machine here.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Damien Lespiau 2015-05-12 16:13:16 +01:00 committed by Daniel Vetter
parent 65438bcce5
commit 4249eeef4e

View File

@ -2997,7 +2997,7 @@ u32 skl_plane_ctl_format(uint32_t pixel_format)
format = PLANE_CTL_FORMAT_YUV422 | PLANE_CTL_YUV422_VYUY; format = PLANE_CTL_FORMAT_YUV422 | PLANE_CTL_YUV422_VYUY;
break; break;
default: default:
BUG(); MISSING_CASE(pixel_format);
} }
return format; return format;