提交 443e67ed 编写于 作者: M Mark Brown

mfd: Correct revision display for WM1811 revision D

As WM1811 revision C was transparent to software the revision IDs for
subsequent revisions are one less than they would normally be. Correct
for this in log messages.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 43913e5e
...@@ -460,6 +460,11 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq) ...@@ -460,6 +460,11 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq)
break; break;
} }
break; break;
case WM1811:
/* Revision C did not change the relevant layer */
if (ret > 1)
ret++;
break;
default: default:
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册