1 From ce1e8ad4a303526026e56822a105ed45a19e6572 Mon Sep 17 00:00:00 2001
2 From: Shengjiu Wang <shengjiu.wang@nxp.com>
3 Date: Thu, 26 Sep 2019 17:46:04 +0800
4 Subject: [PATCH] drm: bridge: cadence: Fix return value for set log addr
6 Fix return value for set log addr with cec
8 Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
10 drivers/gpu/drm/bridge/cadence/cdns-mhdp-cec.c | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
13 --- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-cec.c
14 +++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-cec.c
15 @@ -183,18 +183,18 @@ static int mhdp_cec_set_logical_addr(str
17 if ((la_reg & 0xF) == la) {
18 dev_warn(cec->dev, "Warning. LA already in use.\n");
23 la = (la & 0xF) | (1 << 4);
25 mhdp_cec_write(cec, LOGICAL_ADDRESS_LA0 + (i * REG_ADDR_OFF), la);
30 dev_warn(cec->dev, "All LA in use\n");
36 static int mhdp_cec_poll_worker(void *_cec)