video/hdmi: Fix AVI bar unpack
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Sep 2019 13:28:53 +0000 (16:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 20 Sep 2019 15:46:18 +0000 (18:46 +0300)
commit6039f37dd6b76641198e290f26b31c475248f567
tree4af99d6967fd6add94a090b681959c21f86f2b0e
parent45cf0e91df8c75c3a0c69e54d01cf42e24af365b
video/hdmi: Fix AVI bar unpack

The bar values are little endian, not big endian. The pack
function did it right but the unpack got it wrong. Fix it.

Cc: stable@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: Martin Bugge <marbugge@cisco.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Fixes: 2c676f378edb ("[media] hdmi: added unpack and logging functions for InfoFrames")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190919132853.30954-1-ville.syrjala@linux.intel.com
Reviewed-by: Thierry Reding <treding@nvidia.com>
drivers/video/hdmi.c