diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-06-15 20:07:34 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-05 22:33:57 +0300 |
commit | ca52bea9fa8007f837ab4685b98979bbffc33416 (patch) | |
tree | af50ba2182fbcae0025a614b5d163d2c58d4a56d /drivers/gpu/drm/drm_atomic.c | |
parent | a65020d0a65da69f504b5ee4d43d255d0875999e (diff) | |
download | linux-ca52bea9fa8007f837ab4685b98979bbffc33416.tar.gz linux-ca52bea9fa8007f837ab4685b98979bbffc33416.tar.bz2 linux-ca52bea9fa8007f837ab4685b98979bbffc33416.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions