提交 d3210b5f 编写于 作者: I Igor M. Liplianin 提交者: Mauro Carvalho Chehab

[media] dw2102: Prof 1100 initialization fix

RC keys structure for Prof 1100 already defined, so remove extra initialization.
Signed-off-by: NIgor M. Liplianin <liplianin@me.by>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4e59df8f
...@@ -1464,11 +1464,6 @@ static int dw2102_load_firmware(struct usb_device *dev, ...@@ -1464,11 +1464,6 @@ static int dw2102_load_firmware(struct usb_device *dev,
} }
/* init registers */ /* init registers */
switch (dev->descriptor.idProduct) { switch (dev->descriptor.idProduct) {
case USB_PID_PROF_1100:
s6x0_properties.rc.legacy.rc_map_table = rc_map_tbs_table;
s6x0_properties.rc.legacy.rc_map_size =
ARRAY_SIZE(rc_map_tbs_table);
break;
case USB_PID_TEVII_S650: case USB_PID_TEVII_S650:
dw2104_properties.rc.legacy.rc_map_table = rc_map_tevii_table; dw2104_properties.rc.legacy.rc_map_table = rc_map_tevii_table;
dw2104_properties.rc.legacy.rc_map_size = dw2104_properties.rc.legacy.rc_map_size =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册