drm: Do not use bitwise OR to set picure_aspect_ratio
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Jun 2019 14:26:35 +0000 (17:26 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Jun 2019 15:08:55 +0000 (18:08 +0300)
commit700710e977fdaae5dcfc9a01d56eaaf0720b05f5
treec44f29aefd1471de97e3523613f8ddaecde65661
parent50b0946de4c6bccc9af78505f8b0cb33e87941ce
drm: Do not use bitwise OR to set picure_aspect_ratio

enum hdmi_picture_aspect is not a bitmask, so don't use bitwise OR
to populate it.

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190620142639.17518-2-ville.syrjala@linux.intel.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_modes.c