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
nexedi
linux
Commits
90ba0813
Commit
90ba0813
authored
Nov 24, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/pfuze100' into regulator-linus
parents
3981560c
88baf714
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
drivers/regulator/pfuze100-regulator.c
drivers/regulator/pfuze100-regulator.c
+9
-3
No files found.
drivers/regulator/pfuze100-regulator.c
View file @
90ba0813
...
@@ -308,7 +308,13 @@ static int pfuze_identify(struct pfuze_chip *pfuze_chip)
...
@@ -308,7 +308,13 @@ static int pfuze_identify(struct pfuze_chip *pfuze_chip)
if
(
ret
)
if
(
ret
)
return
ret
;
return
ret
;
if
(
value
&
0x0f
)
{
switch
(
value
&
0x0f
)
{
/* Freescale misprogrammed 1-3% of parts prior to week 8 of 2013 as ID=8 */
case
0x8
:
dev_info
(
pfuze_chip
->
dev
,
"Assuming misprogrammed ID=0x8"
);
case
0x0
:
break
;
default:
dev_warn
(
pfuze_chip
->
dev
,
"Illegal ID: %x
\n
"
,
value
);
dev_warn
(
pfuze_chip
->
dev
,
"Illegal ID: %x
\n
"
,
value
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
...
...
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