From: bui duc phuc <[email protected]>

The rx/tx masks with bits outside soc_dl are already rejected just above,
so masking them with soc_dl again is no-op. Remove it.

Signed-off-by: bui duc phuc <[email protected]>
---
 sound/soc/fsl/fsl_sai.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index cb07e7d13132..8315a0d8893b 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -1510,9 +1510,6 @@ static int fsl_sai_read_dlcfg(struct fsl_sai *sai)
                        return -EINVAL;
                }
 
-               rx = rx & soc_dl;
-               tx = tx & soc_dl;
-
                cfg[i].type = type;
                cfg[i].pins[0] = hweight8(rx);
                cfg[i].mask[0] = rx;
-- 
2.43.0


Reply via email to