Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
linux
linux-davinci
Commits
25fa9a29
Commit
25fa9a29
authored
Oct 25, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (12839): tm6000: Another trial to fix analog streaming
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
728b9bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/staging/tm6000/tm6000-core.c
drivers/staging/tm6000/tm6000-core.c
+5
-3
No files found.
drivers/staging/tm6000/tm6000-core.c
View file @
25fa9a29
...
...
@@ -51,7 +51,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
memcpy
(
data
,
buf
,
len
);
}
if
(
tm6000_debug
&
V4L2_DEBUG_I2C
)
{
// if (tm6000_debug & V4L2_DEBUG_I2C) {
if
(
1
){
if
(
!
ini
)
last
=
ini
=
jiffies
;
...
...
@@ -71,7 +72,7 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
for
(
i
=
0
;
i
<
len
;
i
++
)
{
printk
(
" %02x"
,
buf
[
i
]);
}
printk
(
"
\n
"
);
printk
(
"
\n
"
);
}
}
...
...
@@ -81,7 +82,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
if
(
req_type
&
USB_DIR_IN
)
memcpy
(
buf
,
data
,
len
);
if
(
tm6000_debug
&
V4L2_DEBUG_I2C
)
{
// if (tm6000_debug & V4L2_DEBUG_I2C) {
if
(
1
)
{
if
(
ret
<
0
)
{
if
(
req_type
&
USB_DIR_IN
)
printk
(
"<<< (len=%d)
\n
"
,
len
);
...
...
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