Skip to content
Commit 79dd354f authored by Clemens Gruber's avatar Clemens Gruber Committed by Thierry Reding
Browse files

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: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 6d6e7050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment