diff options
author | 2018-01-26 15:26:38 +0000 | |
---|---|---|
committer | 2018-01-26 15:26:38 +0000 | |
commit | 52fe54ef3fe25ae7d8bce738a6558eab8383e19d (patch) | |
tree | 7c2bfa57ad05cf46e6a49c1fb8d2559ce4375c8c | |
parent | Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus (diff) | |
parent | ASoC: rockchip: i2s: fix playback after runtime resume (diff) | |
download | linux-dev-52fe54ef3fe25ae7d8bce738a6558eab8383e19d.tar.xz linux-dev-52fe54ef3fe25ae7d8bce738a6558eab8383e19d.zip |
Merge remote-tracking branch 'asoc/fix/rockchip' into asoc-linus
-rw-r--r-- | sound/soc/rockchip/rockchip_i2s.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 908211e1d6fc..eb27f6c24bf7 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c @@ -504,6 +504,7 @@ static bool rockchip_i2s_rd_reg(struct device *dev, unsigned int reg) case I2S_INTCR: case I2S_XFER: case I2S_CLR: + case I2S_TXDR: case I2S_RXDR: case I2S_FIFOLR: case I2S_INTSR: @@ -518,6 +519,9 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg) switch (reg) { case I2S_INTSR: case I2S_CLR: + case I2S_FIFOLR: + case I2S_TXDR: + case I2S_RXDR: return true; default: return false; @@ -527,6 +531,8 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg) static bool rockchip_i2s_precious_reg(struct device *dev, unsigned int reg) { switch (reg) { + case I2S_RXDR: + return true; default: return false; } |