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
55fa288d
Commit
55fa288d
authored
Sep 29, 2010
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] cx231xx: use callback to set agc on PixelView
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
ede676c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
drivers/media/video/cx231xx/cx231xx-cards.c
drivers/media/video/cx231xx/cx231xx-cards.c
+11
-0
drivers/media/video/cx231xx/cx231xx-core.c
drivers/media/video/cx231xx/cx231xx-core.c
+0
-1
No files found.
drivers/media/video/cx231xx/cx231xx-cards.c
View file @
55fa288d
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <media/cx25840.h>
#include <media/cx25840.h>
#include "dvb-usb-ids.h"
#include "dvb-usb-ids.h"
#include "xc5000.h"
#include "xc5000.h"
#include "tda18271.h"
#include "cx231xx.h"
#include "cx231xx.h"
...
@@ -490,6 +491,16 @@ int cx231xx_tuner_callback(void *ptr, int component, int command, int arg)
...
@@ -490,6 +491,16 @@ int cx231xx_tuner_callback(void *ptr, int component, int command, int arg)
1
);
1
);
msleep
(
10
);
msleep
(
10
);
}
}
}
else
if
(
dev
->
tuner_type
==
TUNER_NXP_TDA18271
)
{
switch
(
command
)
{
case
TDA18271_CALLBACK_CMD_AGC_ENABLE
:
if
(
dev
->
model
==
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
)
rc
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
arg
);
break
;
default:
rc
=
-
EINVAL
;
break
;
}
}
}
return
rc
;
return
rc
;
}
}
...
...
drivers/media/video/cx231xx/cx231xx-core.c
View file @
55fa288d
...
@@ -719,7 +719,6 @@ int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode)
...
@@ -719,7 +719,6 @@ int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode)
break
;
break
;
case
CX231XX_BOARD_CNXT_RDE_253S
:
case
CX231XX_BOARD_CNXT_RDE_253S
:
case
CX231XX_BOARD_CNXT_RDU_253S
:
case
CX231XX_BOARD_CNXT_RDU_253S
:
case
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
:
errCode
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
1
);
errCode
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
1
);
break
;
break
;
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
...
...
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