mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 07:47:11 +07:00
Merge remote-tracking branch 'asoc/fix/rockchip' into asoc-linus
This commit is contained in:
commit
9325057767
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user