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
21b1ed10
Commit
21b1ed10
authored
Nov 05, 2013
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/therm: no toggle fan control either if we can't guarantee no pwm connected
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
09b8d73b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
drivers/gpu/drm/nouveau/core/subdev/therm/fantog.c
drivers/gpu/drm/nouveau/core/subdev/therm/fantog.c
+7
-0
No files found.
drivers/gpu/drm/nouveau/core/subdev/therm/fantog.c
View file @
21b1ed10
...
@@ -97,6 +97,13 @@ nouveau_fantog_create(struct nouveau_therm *therm, struct dcb_gpio_func *func)
...
@@ -97,6 +97,13 @@ nouveau_fantog_create(struct nouveau_therm *therm, struct dcb_gpio_func *func)
{
{
struct
nouveau_therm_priv
*
tpriv
=
(
void
*
)
therm
;
struct
nouveau_therm_priv
*
tpriv
=
(
void
*
)
therm
;
struct
nouveau_fantog_priv
*
priv
;
struct
nouveau_fantog_priv
*
priv
;
int
ret
;
if
(
therm
->
pwm_ctrl
)
{
ret
=
therm
->
pwm_ctrl
(
therm
,
func
->
line
,
false
);
if
(
ret
)
return
ret
;
}
priv
=
kzalloc
(
sizeof
(
*
priv
),
GFP_KERNEL
);
priv
=
kzalloc
(
sizeof
(
*
priv
),
GFP_KERNEL
);
tpriv
->
fan
=
&
priv
->
base
;
tpriv
->
fan
=
&
priv
->
base
;
...
...
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