drm/msm/hdmi: Use bitwise operators when building register values
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 15 Jun 2017 14:13:46 +0000 (15:13 +0100)
committerRob Clark <robdclark@gmail.com>
Fri, 16 Jun 2017 15:16:08 +0000 (11:16 -0400)
commitffe8f53f9cc73fb25c8f78d4aed7ddf285503a60
treed1597038f9a6cccb8aea5d735c2b93b3514a9765
parent52260ae4c461538a4f104d463a55dfc13c3d8543
drm/msm/hdmi: Use bitwise operators when building register values

Commit c0c0d9eeeb8d ("drm/msm: hdmi audio support") uses logical
OR operators to build up a value to be written in the
REG_HDMI_AUDIO_INFO0 and REG_HDMI_AUDIO_INFO1 registers when it
should have used bitwise operators.

Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Fixes: c0c0d9eeeb8d ("drm/msm: hdmi audio support")
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi_audio.c