projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
186ba2e
)
Merge branch 'fix/core' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
author
Mark Brown
<broonie@kernel.org>
Mon, 26 Feb 2018 11:00:14 +0000
(11:00 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 26 Feb 2018 11:00:14 +0000
(11:00 +0000)
drivers/base/regmap/regmap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/regmap/regmap.c
b/drivers/base/regmap/regmap.c
index 258a40e2a1d3d05d048bf03fcb7166b228a75a4f..f5d6536636261fcefefd0019564a53175c10de6a 100644
(file)
--- a/
drivers/base/regmap/regmap.c
+++ b/
drivers/base/regmap/regmap.c
@@
-1831,7
+1831,7
@@
int regmap_raw_write(struct regmap *map, unsigned int reg,
return -EINVAL;
if (val_len % map->format.val_bytes)
return -EINVAL;
- if (map->max_raw_write && map->max_raw_write
>
val_len)
+ if (map->max_raw_write && map->max_raw_write
<
val_len)
return -E2BIG;
map->lock(map->lock_arg);