projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67bd492
)
MLK-13980: ASoC: fsl_rpmsg_i2s: fix wrong cmd sent to M4 in suspend
author
Shengjiu Wang
<shengjiu.wang@freescale.com>
Thu, 16 Feb 2017 03:51:06 +0000
(11:51 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:43 +0000
(15:10 -0500)
This typo issue will cause that wrong cmd send to M4 side.
Fixes:
3e13a631aee0
("MLK-13904-1: ASoC: fsl: add audio cpu dai driver base on rpmsg")
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_rpmsg_i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_rpmsg_i2s.c
b/sound/soc/fsl/fsl_rpmsg_i2s.c
index
2768c65
..
c53807f
100644
(file)
--- a/
sound/soc/fsl/fsl_rpmsg_i2s.c
+++ b/
sound/soc/fsl/fsl_rpmsg_i2s.c
@@
-200,7
+200,7
@@
static int fsl_rpmsg_i2s_suspend(struct device *dev)
rpmsg_tx->header.cmd = I2S_TX_SUSPEND;
i2s_send_message(rpmsg_tx, i2s_info);
- rpmsg_
t
x->header.cmd = I2S_RX_SUSPEND;
+ rpmsg_
r
x->header.cmd = I2S_RX_SUSPEND;
i2s_send_message(rpmsg_rx, i2s_info);
return 0;
@@
-219,7
+219,7
@@
static int fsl_rpmsg_i2s_resume(struct device *dev)
rpmsg_tx->header.cmd = I2S_TX_RESUME;
i2s_send_message(rpmsg_tx, i2s_info);
- rpmsg_
t
x->header.cmd = I2S_RX_RESUME;
+ rpmsg_
r
x->header.cmd = I2S_RX_RESUME;
i2s_send_message(rpmsg_rx, i2s_info);
return 0;