projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fd4a6
)
ASoC: rsnd: fix ADG flags
author
Kuninori Morimoto
<
[email protected]
>
Mon, 11 Sep 2017 04:17:26 +0000
(
04:17
+0000)
committer
Mark Brown
<
[email protected]
>
Wed, 13 Sep 2017 16:44:07 +0000
(09:44 -0700)
Current ADG driver is over-writing flags. This patch fixes it.
Reported-by: Hiroyuki Yokoyama <
[email protected]
>
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/sh/rcar/adg.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/adg.c
b/sound/soc/sh/rcar/adg.c
index 938baff86ef280a9b6f6d93a4e4e7283a3ea9eb8..e11ce5036bcfb8347d930673f8888ba414c37418 100644
(file)
--- a/
sound/soc/sh/rcar/adg.c
+++ b/
sound/soc/sh/rcar/adg.c
@@
-479,10
+479,10
@@
static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
}
if (req_rate[0] % 48000 == 0)
- adg->flags = AUDIO_OUT_48;
+ adg->flags
|
= AUDIO_OUT_48;
if (of_get_property(np, "clkout-lr-asynchronous", NULL))
- adg->flags = LRCLK_ASYNC;
+ adg->flags
|
= LRCLK_ASYNC;
/*
* This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC