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
f07a0bc1
Commit
f07a0bc1
authored
Jul 21, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] drxk: Fix read debug message
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
e716adac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/drxk_hard.c
+6
-9
No files found.
drivers/media/dvb/frontends/drxk_hard.c
View file @
f07a0bc1
...
...
@@ -355,13 +355,7 @@ static int i2c_read(struct i2c_adapter *adap,
{.
addr
=
adr
,
.
flags
=
I2C_M_RD
,
.
buf
=
answ
,
.
len
=
alen
}
};
dprintk
(
3
,
":"
);
if
(
debug
>
2
)
{
int
i
;
for
(
i
=
0
;
i
<
len
;
i
++
)
printk
(
KERN_CONT
" %02x"
,
msg
[
i
]);
printk
(
KERN_CONT
"
\n
"
);
}
status
=
i2c_transfer
(
adap
,
msgs
,
2
);
if
(
status
!=
2
)
{
if
(
debug
>
2
)
...
...
@@ -374,9 +368,12 @@ static int i2c_read(struct i2c_adapter *adap,
}
if
(
debug
>
2
)
{
int
i
;
printk
(
KERN_CONT
": Read
"
);
dprintk
(
2
,
": read from
"
);
for
(
i
=
0
;
i
<
len
;
i
++
)
printk
(
KERN_CONT
" %02x"
,
msg
[
i
]);
printk
(
KERN_CONT
"Value = "
);
for
(
i
=
0
;
i
<
alen
;
i
++
)
printk
(
KERN_CONT
" %02x"
,
answ
[
i
]);
printk
(
KERN_CONT
"
\n
"
);
}
return
0
;
...
...
@@ -1075,7 +1072,7 @@ static int GetDeviceCapabilities(struct drxk_state *state)
state
->
m_hasIRQN
=
false
;
break
;
default:
printk
(
KERN_ERR
"drxk: DeviceID
not supported = %02x
\n
"
,
printk
(
KERN_ERR
"drxk: DeviceID
0x%02x not supported
\n
"
,
((
sioTopJtagidLo
>>
12
)
&
0xFF
));
status
=
-
EINVAL
;
goto
error2
;
...
...
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