OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd276c
)
ASoC: rockchip: spdif: Mark SPDIF_SMPDR as volatile
author
Sugar Zhang
<sugar.zhang@rock-chips.com>
Tue, 24 Aug 2021 10:15:59 +0000
(18:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 26 Aug 2021 12:56:54 +0000
(13:56 +0100)
This patch marks SPDIF_SMPDR as volatile to make it resaonable,
which also requires marking it as readable, even though it isn't.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link:
https://lore.kernel.org/r/1629800162-12824-2-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c
patch
|
blob
|
history
diff --git
a/sound/soc/rockchip/rockchip_spdif.c
b/sound/soc/rockchip/rockchip_spdif.c
index
73226a4
..
8baa473
100644
(file)
--- a/
sound/soc/rockchip/rockchip_spdif.c
+++ b/
sound/soc/rockchip/rockchip_spdif.c
@@
-247,6
+247,7
@@
static bool rk_spdif_rd_reg(struct device *dev, unsigned int reg)
case SPDIF_INTCR:
case SPDIF_INTSR:
case SPDIF_XFER:
+ case SPDIF_SMPDR:
return true;
default:
return false;
@@
-258,6
+259,7
@@
static bool rk_spdif_volatile_reg(struct device *dev, unsigned int reg)
switch (reg) {
case SPDIF_INTSR:
case SPDIF_SDBLR:
+ case SPDIF_SMPDR:
return true;
default:
return false;