]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
regmap: cache: Fix typo in cache_bypass parameter description
authorAndrew F. Davis <afd@ti.com>
Wed, 23 Mar 2016 14:26:33 +0000 (09:26 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 22 Aug 2016 21:37:47 +0000 (22:37 +0100)
commit 267c85860308d36bc163c5573308cd024f659d7c upstream.

Setting the flag 'cache_bypass' will bypass the cache not the hardware.
Fix this comment here.

Fixes: 0eef6b0415f5 ("regmap: Fix doc comment")
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/base/regmap/regcache.c

index 5c1cc008af9e5c66dc31344afedf9395b7fd4dba..3568186a77a70a5052e4e21072ddc412ab3f3ffa 100644 (file)
@@ -473,7 +473,7 @@ EXPORT_SYMBOL_GPL(regcache_mark_dirty);
  * regcache_cache_bypass: Put a register map into cache bypass mode
  *
  * @map: map to configure
- * @cache_bypass: flag if changes should not be written to the hardware
+ * @cache_bypass: flag if changes should not be written to the cache
  *
  * When a register map is marked with the cache bypass option, writes
  * to the register map API will only update the hardware and not the