mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
remote: Add a setup of user remote wakeup decode type
Change-Id: Ib7bb759dfec67433b596ed64997f6894d1c7ec27
This commit is contained in:
@@ -484,6 +484,9 @@ static int ir_get_devtree_pdata(struct platform_device *pdev)
|
||||
chip->protocol = 1;
|
||||
}
|
||||
dev_info(chip->dev, "protocol = 0x%x\n", chip->protocol);
|
||||
#if defined(CONFIG_IR_HK_LIRC_HELPER)
|
||||
remote_wakeup_decode_type(chip->protocol);
|
||||
#endif
|
||||
|
||||
ret = of_property_read_u32(pdev->dev.of_node,
|
||||
"led_blink", &chip->r_dev->led_blink);
|
||||
|
||||
@@ -199,4 +199,7 @@ int ir_scancode_sort(struct ir_map_tab *ir_map);
|
||||
struct ir_map_tab_list *seek_map_tab(struct remote_chip *chip, int custom_code);
|
||||
void ir_tab_free(struct ir_map_tab_list *ir_map_list);
|
||||
|
||||
#if defined(CONFIG_IR_HK_LIRC_HELPER)
|
||||
extern void remote_wakeup_decode_type(int dec_type);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user