Skip to content

Commit

Permalink
[media] m88rs2000: make use ts2020
Browse files Browse the repository at this point in the history
Tuner part of Montage rs2000 chip is similar to ts2020 tuner.
Patch to use ts2020 code.

[mchehab@redhat.com: a few CodingStyle fixes]
Signed-off-by: Igor M. Liplianin <liplianin@me.by>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Dec 28, 2012
1 parent 43385c8 commit b858c33
Show file tree
Hide file tree
Showing 10 changed files with 373 additions and 513 deletions.
408 changes: 100 additions & 308 deletions drivers/media/dvb-frontends/m88rs2000.c

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions drivers/media/dvb-frontends/m88rs2000.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
struct m88rs2000_config {
/* Demodulator i2c address */
u8 demod_addr;
/* Tuner address */
u8 tuner_addr;

u8 *inittab;

Expand Down Expand Up @@ -55,12 +53,8 @@ static inline struct dvb_frontend *m88rs2000_attach(
}
#endif /* CONFIG_DVB_M88RS2000 */

#define FE_CRYSTAL_KHZ 27000
#define FREQ_OFFSET_LOW_SYM_RATE 3000

enum {
DEMOD_WRITE = 0x1,
TUNER_WRITE,
WRITE_DELAY = 0x10,
};
#endif /* M88RS2000_H */
Loading

0 comments on commit b858c33

Please sign in to comment.