提交 21ff3e4f 编写于 作者: S Steven Toth 提交者: Mauro Carvalho Chehab

V4L/DVB (12305): cx23885: Convert existing HVR1800 GPIO calls into new format

... improves readability and routes the calls through a specific single point.
Signed-off-by: NSteven Toth <stoth@kernellabs.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f659c513
......@@ -593,11 +593,12 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
mdelay(100);
/* Force the TDA8295A into reset and back */
cx_set(GP0_IO, 0x00040004);
cx23885_gpio_enable(dev, GPIO_2, 1);
cx23885_gpio_set(dev, GPIO_2);
mdelay(20);
cx_clear(GP0_IO, 0x00000004);
cx23885_gpio_clear(dev, GPIO_2);
mdelay(20);
cx_set(GP0_IO, 0x00040004);
cx23885_gpio_set(dev, GPIO_2);
mdelay(20);
break;
case CX23885_BOARD_HAUPPAUGE_HVR1200:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册