commit | 9c9f7f675970ba1b888272f016157de21f69e7e2 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Fri Aug 21 10:26:43 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Aug 21 09:33:43 2015 -0700 |
tree | 6ce5c3d958d77b93efd944c4b251734068c0ecf8 | |
parent | 67921a1a6660d32cc2770d05d656a1187b6d94d5 [diff] |
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: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>