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
ef8c1888
Commit
ef8c1888
authored
Nov 16, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (6614): Fix driver for i386 architectures
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
2d4c0ac6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
drivers/media/video/tuner-xc2028-types.h
drivers/media/video/tuner-xc2028-types.h
+7
-7
drivers/media/video/tuner-xc2028.c
drivers/media/video/tuner-xc2028.c
+6
-4
No files found.
drivers/media/video/tuner-xc2028-types.h
View file @
ef8c1888
...
...
@@ -82,13 +82,13 @@
/* Audio types */
#define V4L2_STD_A2_A (1L<<32)
#define V4L2_STD_A2_B (1L<<33)
#define V4L2_STD_NICAM_A (1L<<34)
#define V4L2_STD_NICAM_B (1L<<35)
#define V4L2_STD_AM (1L<<36)
#define V4L2_STD_BTSC (1L<<37)
#define V4L2_STD_EIAJ (1L<<38)
#define V4L2_STD_A2_A (1L
L
<<32)
#define V4L2_STD_A2_B (1L
L
<<33)
#define V4L2_STD_NICAM_A (1L
L
<<34)
#define V4L2_STD_NICAM_B (1L
L
<<35)
#define V4L2_STD_AM (1L
L
<<36)
#define V4L2_STD_BTSC (1L
L
<<37)
#define V4L2_STD_EIAJ (1L
L
<<38)
#define V4L2_STD_A2 (V4L2_STD_A2_A | V4L2_STD_A2_B)
#define V4L2_STD_NICAM (V4L2_STD_NICAM_A | V4L2_STD_NICAM_B)
...
...
drivers/media/video/tuner-xc2028.c
View file @
ef8c1888
...
...
@@ -22,6 +22,7 @@
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"
#define PREFIX "xc2028"
static
int
debug
;
...
...
@@ -193,7 +194,7 @@ void dump_firm_type(unsigned int type)
printk
(
"SCODE "
);
}
static
v4l2_std_id
parse_audio_std_option
(
void
)
static
v4l2_std_id
parse_audio_std_option
(
void
)
{
if
(
strcasecmp
(
audio_std
,
"A2"
))
return
V4L2_STD_A2
;
...
...
@@ -317,9 +318,10 @@ static int load_all_firmwares(struct dvb_frontend *fe)
if
((
!
size
)
||
(
size
+
p
>
endp
))
{
tuner_err
(
"Firmware type "
);
dump_firm_type
(
type
);
printk
(
"(%x), id %lx is corrupted "
"(size=%ld, expected %d)
\n
"
,
type
,
(
unsigned
long
)
id
,
endp
-
p
,
size
);
printk
(
"(%x), id %llx is corrupted "
"(size=%d, expected %d)
\n
"
,
type
,
id
,
(
unsigned
)(
endp
-
p
),
size
);
goto
corrupt
;
}
...
...
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