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
d4ab78d7
Commit
d4ab78d7
authored
May 13, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branches 'regmap/topic/doc' and 'regmap/topic/flat' into regmap-next
parents
2a2cd521
267c8586
6e4f2878
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/base/regmap/regcache-flat.c
drivers/base/regmap/regcache-flat.c
+1
-1
drivers/base/regmap/regcache.c
drivers/base/regmap/regcache.c
+1
-1
No files found.
drivers/base/regmap/regcache-flat.c
View file @
d4ab78d7
...
@@ -27,7 +27,7 @@ static int regcache_flat_init(struct regmap *map)
...
@@ -27,7 +27,7 @@ static int regcache_flat_init(struct regmap *map)
int
i
;
int
i
;
unsigned
int
*
cache
;
unsigned
int
*
cache
;
if
(
!
map
||
map
->
reg_stride_order
<
0
)
if
(
!
map
||
map
->
reg_stride_order
<
0
||
!
map
->
max_register
)
return
-
EINVAL
;
return
-
EINVAL
;
map
->
cache
=
kcalloc
(
regcache_flat_get_index
(
map
,
map
->
max_register
)
map
->
cache
=
kcalloc
(
regcache_flat_get_index
(
map
,
map
->
max_register
)
...
...
drivers/base/regmap/regcache.c
View file @
d4ab78d7
...
@@ -529,7 +529,7 @@ EXPORT_SYMBOL_GPL(regcache_mark_dirty);
...
@@ -529,7 +529,7 @@ EXPORT_SYMBOL_GPL(regcache_mark_dirty);
* regcache_cache_bypass: Put a register map into cache bypass mode
* regcache_cache_bypass: Put a register map into cache bypass mode
*
*
* @map: map to configure
* @map: map to configure
* @cache_bypass: flag if changes should not be written to the
hardwar
e
* @cache_bypass: flag if changes should not be written to the
cach
e
*
*
* When a register map is marked with the cache bypass option, writes
* 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
* to the register map API will only update the hardware and not the
...
...
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