MLK-19227-5: hdp: Add mutex for register access function
authorSandor Yu <Sandor.yu@nxp.com>
Tue, 28 Aug 2018 07:40:03 +0000 (15:40 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit72e2b8bff9ac0c11f530797faa0c62b4976eadf9
treeda5fa2549f895f8b19b8b110cd0f9e66e26e8262
parenta1b8eba9369a5fd335ed1ff9591cd3e122e1f78a
MLK-19227-5: hdp: Add mutex for register access function

Both CEC and HPD thread will access HDP register read/write
function, add mutex to support mulit-thread access.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
(cherry picked from commit 7e62bd0ad4b5d3187a3d1c0f2258c1d4e3ba66a6)
drivers/gpu/drm/imx/hdp/imx-hdp.c
drivers/mxc/hdp/util.h