Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regmap: Correct comparison in regmap_cached
The cache pointer points to the actual memory used by the cache, as the comparison here is looking for the type of the cache it should check against cache_type. Fixes: 1ea975c ("regmap: Add a function to check if a regmap register is cached") Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
- Loading branch information