projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74e73b
)
rockchip: i2s: fix i2s mclk set fail when using multi i2s.
author
Sugar Zhang
<sugar.zhang@rock-chips.com>
Fri, 6 Mar 2015 03:16:01 +0000
(11:16 +0800)
committer
Sugar Zhang
<sugar.zhang@rock-chips.com>
Fri, 6 Mar 2015 03:16:01 +0000
(11:16 +0800)
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
sound/soc/rockchip/rk30_i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/rockchip/rk30_i2s.c
b/sound/soc/rockchip/rk30_i2s.c
index 55aeefeb31caf9debaa514bd54e4d98e357cf707..bb15f42b3250ef3a476288db195e07dcac976fe3 100755
(executable)
--- a/
sound/soc/rockchip/rk30_i2s.c
+++ b/
sound/soc/rockchip/rk30_i2s.c
@@
-514,7
+514,9
@@
static int rockchip_i2s_resume_noirq(struct device *dev)
#ifdef CLK_SET_lATER
static void set_clk_later_work(struct work_struct *work)
{
- struct rk30_i2s_info *i2s = rk30_i2s;
+ struct rk30_i2s_info *i2s = container_of(work, struct rk30_i2s_info,
+ clk_delayed_work.work);
+
clk_set_rate(i2s->i2s_clk, 11289600);
if(!IS_ERR(i2s->i2s_mclk) )
clk_set_rate(i2s->i2s_mclk, 11289600);