Commit 7e40afcc authored by Mårten Lindahl's avatar Mårten Lindahl Committed by Greg Kroah-Hartman
Browse files

hwmon: (pmbus) Introduce and use write_byte_data callback



[ Upstream commit 5de3e13f ]

Some of the pmbus core functions uses pmbus_write_byte_data, which does
not support driver callbacks for chip specific write operations. This
could potentially influence some specific regulator chips that for
example need a time delay before each data access.

Lets add support for driver callback with _pmbus_write_byte_data.

Signed-off-by: default avatarMårten Lindahl <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20220428144039.2464667-2-marten.lindahl@axis.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Stable-dep-of: 20471071 ("hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 87bd31cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment