提交 7b1ad402 编写于 作者: M Mark Brown

Merge remote-tracking branch 'asoc/topic/pcm1681' into asoc-next

...@@ -73,7 +73,7 @@ static bool pcm1681_accessible_reg(struct device *dev, unsigned int reg) ...@@ -73,7 +73,7 @@ static bool pcm1681_accessible_reg(struct device *dev, unsigned int reg)
return !((reg == 0x00) || (reg == 0x0f)); return !((reg == 0x00) || (reg == 0x0f));
} }
static bool pcm1681_writeable_reg(struct device *dev, unsigned register reg) static bool pcm1681_writeable_reg(struct device *dev, unsigned int reg)
{ {
return pcm1681_accessible_reg(dev, reg) && return pcm1681_accessible_reg(dev, reg) &&
(reg != PCM1681_ZERO_DETECT_STATUS); (reg != PCM1681_ZERO_DETECT_STATUS);
......
...@@ -59,7 +59,7 @@ static bool pcm179x_accessible_reg(struct device *dev, unsigned int reg) ...@@ -59,7 +59,7 @@ static bool pcm179x_accessible_reg(struct device *dev, unsigned int reg)
return reg >= 0x10 && reg <= 0x17; return reg >= 0x10 && reg <= 0x17;
} }
static bool pcm179x_writeable_reg(struct device *dev, unsigned register reg) static bool pcm179x_writeable_reg(struct device *dev, unsigned int reg)
{ {
bool accessible; bool accessible;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册