drm/atomic-helper: Use bitwise or for filling a bitmask
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jun 2018 17:07:34 +0000 (20:07 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Jul 2018 19:33:57 +0000 (22:33 +0300)
commitca52bea9fa8007f837ab4685b98979bbffc33416
treeaf50ba2182fbcae0025a614b5d163d2c58d4a56d
parenta65020d0a65da69f504b5ee4d43d255d0875999e
drm/atomic-helper: Use bitwise or for filling a bitmask

Using += to set the bits in a mask looks funny. It works in this case
because we never set the same bit twice. But let's switch to |= to
make this look more regular.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180615170734.2774-1-ville.syrjala@linux.intel.com
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/drm_atomic_helper.c