diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/wm8350-core.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c index d63a530c4fe8..c013afde260d 100644 --- a/drivers/mfd/wm8350-core.c +++ b/drivers/mfd/wm8350-core.c | |||
@@ -1202,9 +1202,14 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq, | |||
1202 | dev_info(wm8350->dev, "Found Rev G device\n"); | 1202 | dev_info(wm8350->dev, "Found Rev G device\n"); |
1203 | wm8350->rev = WM8350_REV_G; | 1203 | wm8350->rev = WM8350_REV_G; |
1204 | break; | 1204 | break; |
1205 | case WM8350_REV_H: | ||
1206 | dev_info(wm8350->dev, "Found Rev H device\n"); | ||
1207 | wm8350->rev = WM8350_REV_H; | ||
1208 | break; | ||
1205 | default: | 1209 | default: |
1206 | /* For safety we refuse to run on unknown hardware */ | 1210 | /* For safety we refuse to run on unknown hardware */ |
1207 | dev_info(wm8350->dev, "Found unknown rev\n"); | 1211 | dev_info(wm8350->dev, "Found unknown rev %x\n", |
1212 | (id2 & WM8350_CHIP_REV_MASK) >> 12); | ||
1208 | ret = -ENODEV; | 1213 | ret = -ENODEV; |
1209 | goto err; | 1214 | goto err; |
1210 | } | 1215 | } |