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
f57b17c3
Commit
f57b17c3
authored
Nov 12, 2009
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (13328): em28xx: Add chip ID for em2800
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
fc099f0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+3
-0
drivers/media/video/em28xx/em28xx-reg.h
drivers/media/video/em28xx/em28xx-reg.h
+1
-0
No files found.
drivers/media/video/em28xx/em28xx-cards.c
View file @
f57b17c3
...
...
@@ -2532,6 +2532,9 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
dev
->
chip_id
=
retval
;
switch
(
dev
->
chip_id
)
{
case
CHIP_ID_EM2800
:
em28xx_info
(
"chip ID is em2800
\n
"
);
break
;
case
CHIP_ID_EM2710
:
em28xx_info
(
"chip ID is em2710
\n
"
);
break
;
...
...
drivers/media/video/em28xx/em28xx-reg.h
View file @
f57b17c3
...
...
@@ -192,6 +192,7 @@
/* FIXME: Need to be populated with the other chip ID's */
enum
em28xx_chip_id
{
CHIP_ID_EM2800
=
7
,
CHIP_ID_EM2710
=
17
,
CHIP_ID_EM2820
=
18
,
/* Also used by some em2710 */
CHIP_ID_EM2840
=
20
,
...
...
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