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
da289525
Commit
da289525
authored
Mar 27, 2013
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon: fix typo in atom voltage table handling (si+)
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
7a80c2c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_atombios.c
+2
-2
No files found.
drivers/gpu/drm/radeon/radeon_atombios.c
View file @
da289525
...
@@ -3168,7 +3168,7 @@ radeon_atom_is_voltage_gpio(struct radeon_device *rdev,
...
@@ -3168,7 +3168,7 @@ radeon_atom_is_voltage_gpio(struct radeon_device *rdev,
switch
(
crev
)
{
switch
(
crev
)
{
case
1
:
case
1
:
num_indices
=
(
size
-
sizeof
(
ATOM_COMMON_TABLE_HEADER
))
/
num_indices
=
(
size
-
sizeof
(
ATOM_COMMON_TABLE_HEADER
))
/
sizeof
(
ATOM_VOLTAGE_OBJECT_
INFO_V3_1
);
sizeof
(
ATOM_VOLTAGE_OBJECT_
V3
);
for
(
i
=
0
;
i
<
num_indices
;
i
++
)
{
for
(
i
=
0
;
i
<
num_indices
;
i
++
)
{
if
((
voltage_info
->
v3
.
asVoltageObj
[
i
].
asGpioVoltageObj
.
sHeader
.
ucVoltageType
==
if
((
voltage_info
->
v3
.
asVoltageObj
[
i
].
asGpioVoltageObj
.
sHeader
.
ucVoltageType
==
...
@@ -3439,7 +3439,7 @@ int radeon_atom_get_voltage_table(struct radeon_device *rdev,
...
@@ -3439,7 +3439,7 @@ int radeon_atom_get_voltage_table(struct radeon_device *rdev,
switch
(
crev
)
{
switch
(
crev
)
{
case
1
:
case
1
:
num_indices
=
(
size
-
sizeof
(
ATOM_COMMON_TABLE_HEADER
))
/
num_indices
=
(
size
-
sizeof
(
ATOM_COMMON_TABLE_HEADER
))
/
sizeof
(
ATOM_VOLTAGE_OBJECT_
INFO_V3_1
);
sizeof
(
ATOM_VOLTAGE_OBJECT_
V3
);
for
(
i
=
0
;
i
<
num_indices
;
i
++
)
{
for
(
i
=
0
;
i
<
num_indices
;
i
++
)
{
if
((
voltage_info
->
v3
.
asVoltageObj
[
i
].
asGpioVoltageObj
.
sHeader
.
ucVoltageType
==
if
((
voltage_info
->
v3
.
asVoltageObj
[
i
].
asGpioVoltageObj
.
sHeader
.
ucVoltageType
==
...
...
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