mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-06 17:43:43 +00:00
V4L/DVB (12783): tm6000: add xc2028/3028 to dvb
Add experimental DVB frontend tuner interface to xc2028/3028 Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
95a838243b
commit
90d5802795
@ -343,6 +343,14 @@ static int tm6000_tuner_callback(void *ptr, int command, int arg)
|
|||||||
rc=tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
|
rc=tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
|
||||||
TM6000_GPIO_CLK, 1);
|
TM6000_GPIO_CLK, 1);
|
||||||
break;
|
break;
|
||||||
|
case 4:
|
||||||
|
tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
|
||||||
|
TM6000_GPIO_4, 0x00);
|
||||||
|
msleep(10);
|
||||||
|
tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
|
||||||
|
TM6000_GPIO_4, 0x01);
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (rc);
|
return (rc);
|
||||||
|
Loading…
Reference in New Issue
Block a user