Skip to content
Commit 07ea400e authored by Markus Schneider-Pargmann's avatar Markus Schneider-Pargmann Committed by Mark Brown
Browse files

regmap: Fix regmap_can_raw_write check



This function is missing a check if map->bus->write is implemented. If
it is not implemented arbitrary raw writes are not possible.

Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bc0195aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment