summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@flipper.net>2026-03-31 19:43:41 +0400
committerMark Brown <broonie@kernel.org>2026-04-10 11:52:40 +0100
commitde76a763805d0051242b3862823b34d894ec81f9 (patch)
tree8a0f64df5a11728738b805fc667a5dc44ea3b33a /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parentaef4d87f2c1fdb87e55ea2cbe3ea47b01b256f57 (diff)
regulator: bq257xx: Make OTG enable GPIO really optional
The bindings describe the OTG enable GPIO as optional, but the driver gets upset if it's not provided in the device tree. Make the driver accept the absence of the GPIO, and just use register writes to handle OTG mode in that case, skipping the error message for -ENOENT. Acked-by: Mark Brown <broonie@kernel.org> Tested-by: Chris Morgan <macromorgan@hotmail.com> Signed-off-by: Alexey Charkov <alchark@flipper.net> Link: https://patch.msgid.link/20260331-bq25792-v6-4-0278fba33eb9@flipper.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions