From: Markus Pargmann Date: Fri, 21 Aug 2015 08:26:41 +0000 (+0200) Subject: regmap: Fix regmap_bulk_write for bus writes X-Git-Tag: omap-for-v4.3/fixes-rc1~58^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c594b7f21d7d02115e828db46fddbba1da7ed1b8;p=pandora-kernel.git regmap: Fix regmap_bulk_write for bus writes The regmap config does not prohibit val_bytes that are not powers of two. But the current code of regmap_bulk_write for use_single_rw does limit the possible val_bytes to 1, 2 and 4. This patch fixes the behaviour to allow bus writes with non-standard val_bytes sizes. Cc: Stephen Boyd Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed