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
4ae5c2e5
Commit
4ae5c2e5
authored
Mar 25, 2006
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (3614): Fix compilation warning at powerpc platform
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
31bc09b5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
drivers/media/dvb/dvb-usb/vp702x-fe.c
drivers/media/dvb/dvb-usb/vp702x-fe.c
+3
-2
drivers/media/video/bt8xx/bttv-vbi.c
drivers/media/video/bt8xx/bttv-vbi.c
+1
-1
drivers/media/video/tuner-core.c
drivers/media/video/tuner-core.c
+1
-1
drivers/media/video/video-buf.c
drivers/media/video/video-buf.c
+1
-1
No files found.
drivers/media/dvb/dvb-usb/vp702x-fe.c
View file @
4ae5c2e5
...
...
@@ -147,8 +147,9 @@ static int vp702x_fe_set_frontend(struct dvb_frontend* fe,
cmd
[
4
]
=
(
sr
>>
4
)
&
0xff
;
cmd
[
5
]
=
(
sr
<<
4
)
&
0xf0
;
deb_fe
(
"setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %Lu (%Lx)
\n
"
,
fep
->
frequency
,
freq
,
freq
,
fep
->
u
.
qpsk
.
symbol_rate
,
sr
,
sr
);
deb_fe
(
"setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %lu (%lx)
\n
"
,
fep
->
frequency
,
freq
,
freq
,
fep
->
u
.
qpsk
.
symbol_rate
,
(
unsigned
long
)
sr
,
(
unsigned
long
)
sr
);
/* if (fep->inversion == INVERSION_ON)
cmd[6] |= 0x80; */
...
...
drivers/media/video/bt8xx/bttv-vbi.c
View file @
4ae5c2e5
...
...
@@ -184,7 +184,7 @@ void bttv_vbi_try_fmt(struct bttv_fh *fh, struct v4l2_format *f)
-
tvnorm
->
vbistart
[
0
];
count1
=
(
s64
)
f
->
fmt
.
vbi
.
start
[
1
]
+
f
->
fmt
.
vbi
.
count
[
1
]
-
tvnorm
->
vbistart
[
1
];
count
=
clamp
(
max
(
count0
,
count1
),
1LL
,
(
s64
)
VBI_MAXLINES
);
count
=
clamp
(
max
(
count0
,
count1
),
(
s64
)
1
,
(
s64
)
VBI_MAXLINES
);
f
->
fmt
.
vbi
.
start
[
0
]
=
tvnorm
->
vbistart
[
0
];
f
->
fmt
.
vbi
.
start
[
1
]
=
tvnorm
->
vbistart
[
1
];
...
...
drivers/media/video/tuner-core.c
View file @
4ae5c2e5
...
...
@@ -401,7 +401,7 @@ static void tuner_status(struct i2c_client *client)
}
tuner_info
(
"Tuner mode: %s
\n
"
,
p
);
tuner_info
(
"Frequency: %lu.%02lu MHz
\n
"
,
freq
,
freq_fraction
);
tuner_info
(
"Standard: 0x%08l
lx
\n
"
,
t
->
std
);
tuner_info
(
"Standard: 0x%08l
x
\n
"
,
(
unsigned
long
)
t
->
std
);
if
(
t
->
mode
!=
V4L2_TUNER_RADIO
)
return
;
if
(
t
->
has_signal
)
{
...
...
drivers/media/video/video-buf.c
View file @
4ae5c2e5
...
...
@@ -923,7 +923,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
/* need to capture a new frame */
retval
=
-
ENOMEM
;
q
->
read_buf
=
videobuf_alloc
(
q
->
msize
);
dprintk
(
1
,
"video alloc=0x%
08x
\n
"
,(
unsigned
int
)
q
->
read_buf
);
dprintk
(
1
,
"video alloc=0x%
p
\n
"
,
q
->
read_buf
);
if
(
NULL
==
q
->
read_buf
)
goto
done
;
q
->
read_buf
->
memory
=
V4L2_MEMORY_USERPTR
;
...
...
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