diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2021-05-07 15:18:45 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-04 11:43:54 +0200 |
commit | 79dd354fe1769ebec695dacfee007eafb1538d0c (patch) | |
tree | 6a7d9e13bc9eae6745f102f92b9867eb0778a95a /drivers/usb/dwc2/debug.h | |
parent | 6d6e7050276d40b5de97aa950d5d71057f2e2a25 (diff) |
pwm: pca9685: Add error messages for failed regmap calls
Regmap operations can fail if the underlying subsystem is not working
properly (e.g. hogged I2C bus, etc.)
As this is useful information for the user, print an error message if it
happens.
Let probe fail if the first regmap_read or the first regmap_write fails.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/usb/dwc2/debug.h')
0 files changed, 0 insertions, 0 deletions