Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0e03ae74
Commit
0e03ae74
authored
Mar 05, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regmap/fix/raw' into regmap-linus
parents
fc77dbd3
d51fe1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/base/regmap/regcache.c
drivers/base/regmap/regcache.c
+2
-2
No files found.
drivers/base/regmap/regcache.c
View file @
0e03ae74
...
...
@@ -57,7 +57,7 @@ static int regcache_hw_init(struct regmap *map)
bool
cache_bypass
=
map
->
cache_bypass
;
dev_warn
(
map
->
dev
,
"No cache defaults, reading back from HW
\n
"
);
/* Bypass the cache access till data read from HW*/
/* Bypass the cache access till data read from HW
*/
map
->
cache_bypass
=
true
;
tmp_buf
=
kmalloc
(
map
->
cache_size_raw
,
GFP_KERNEL
);
if
(
!
tmp_buf
)
{
...
...
@@ -65,7 +65,7 @@ static int regcache_hw_init(struct regmap *map)
goto
err_free
;
}
ret
=
regmap_raw_read
(
map
,
0
,
tmp_buf
,
map
->
num_reg_defaults
_raw
);
map
->
cache_size
_raw
);
map
->
cache_bypass
=
cache_bypass
;
if
(
ret
<
0
)
goto
err_cache_free
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment