|
@@ -362,6 +362,8 @@ static bool rockchip_i2s_rd_reg(struct device *dev, unsigned int reg)
|
|
case I2S_XFER:
|
|
case I2S_XFER:
|
|
case I2S_CLR:
|
|
case I2S_CLR:
|
|
case I2S_RXDR:
|
|
case I2S_RXDR:
|
|
|
|
+ case I2S_FIFOLR:
|
|
|
|
+ case I2S_INTSR:
|
|
return true;
|
|
return true;
|
|
default:
|
|
default:
|
|
return false;
|
|
return false;
|
|
@@ -371,8 +373,8 @@ static bool rockchip_i2s_rd_reg(struct device *dev, unsigned int reg)
|
|
static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
|
|
static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
|
|
{
|
|
{
|
|
switch (reg) {
|
|
switch (reg) {
|
|
- case I2S_FIFOLR:
|
|
|
|
case I2S_INTSR:
|
|
case I2S_INTSR:
|
|
|
|
+ case I2S_CLR:
|
|
return true;
|
|
return true;
|
|
default:
|
|
default:
|
|
return false;
|
|
return false;
|
|
@@ -382,8 +384,6 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
|
|
static bool rockchip_i2s_precious_reg(struct device *dev, unsigned int reg)
|
|
static bool rockchip_i2s_precious_reg(struct device *dev, unsigned int reg)
|
|
{
|
|
{
|
|
switch (reg) {
|
|
switch (reg) {
|
|
- case I2S_FIFOLR:
|
|
|
|
- return true;
|
|
|
|
default:
|
|
default:
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|