Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
L
linux-next
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sebastian Krzyszkowiak
linux-next
Commits
3b07f2ff
Verified
Commit
3b07f2ff
authored
Apr 02, 2020
by
Sebastian Krzyszkowiak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imx-bus: Fix defered probing when passive parent device isn't ready yet
parent
0174b133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/devfreq/imx-bus.c
drivers/devfreq/imx-bus.c
+3
-3
No files found.
drivers/devfreq/imx-bus.c
View file @
3b07f2ff
...
...
@@ -153,14 +153,14 @@ static int imx_bus_probe(struct platform_device *pdev)
dev_name
(
priv
->
passive_data
.
parent
->
dev
.
parent
));
gov
=
DEVFREQ_GOV_PASSIVE
;
gov_data
=
&
priv
->
passive_data
;
}
else
if
(
priv
->
passive_data
.
parent
==
ERR_PTR
(
-
EPROBE_DEFER
))
{
ret
=
-
EPROBE_DEFER
;
goto
err
;
}
else
if
(
priv
->
passive_data
.
parent
!=
ERR_PTR
(
-
ENODEV
))
{
// -ENODEV means no parent: not an error.
ret
=
PTR_ERR
(
priv
->
passive_data
.
parent
);
dev_warn
(
dev
,
"failed to init passive parent: %d
\n
"
,
ret
);
goto
err
;
}
else
{
ret
=
-
EPROBE_DEFER
;
goto
err
;
}
}
...
...
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