Re: [PATCH] power: supply: bq27xxx: fix wrong errno when bus ops are unsupported

From: Sebastian Reichel

Date: Sun Jan 11 2026 - 20:56:06 EST



On Thu, 04 Dec 2025 16:34:36 +0800, Haotian Zhang wrote:
> bq27xxx_write(), bq27xxx_read_block(), and bq27xxx_write_block()
> return -EPERM when the bus callback pointer is NULL. A NULL callback
> indicates the operation is not supported by the bus/driver,
> not that permission is denied.
>
> Return -EOPNOTSUPP instead of -EPERM when di->bus.write/
> read_bulk/write_bulk is NULL.
>
> [...]

Applied, thanks!

[1/1] power: supply: bq27xxx: fix wrong errno when bus ops are unsupported
commit: 688364a11647dc09ba1e4429313e0008066ec790

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>