Skip to content
Commit 9c9f7f67 authored by Markus Pargmann's avatar Markus Pargmann Committed by Mark Brown
Browse files

regmap: No multi_write support if bus->write does not exist



There is no multi_write support available if we cannot use raw_write.
This is the case if bus->write is not implemented.

This patch adds a condition that we need bus and bus->write so that
can_multi_write is true.

Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 67921a1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment