Commit fb60ce82 authored by Komal Shah's avatar Komal Shah Committed by Tony Lindgren

No commit message

No commit message
parent e8024a44
......@@ -36,6 +36,7 @@ config MACH_OMAP_H2
config MACH_OMAP_H3
bool "TI H3 Support"
depends on ARCH_OMAP1 && ARCH_OMAP16XX
select GPIOEXPANDER_OMAP
help
TI OMAP 1710 H3 board support. Say Y here if you have such
a board.
......
......@@ -250,9 +250,9 @@ static int h3_transceiver_mode(struct device *dev, int mode)
{
struct omap_irda_config *irda_config = dev->platform_data;
cancel_delayed_work(irda_config->gpio_expa);
PREPARE_WORK(irda_config->gpio_expa, set_trans_mode, &mode);
schedule_work(irda_config->gpio_expa);
cancel_delayed_work(&irda_config->gpio_expa);
PREPARE_WORK(&irda_config->gpio_expa, set_trans_mode, &mode);
schedule_work(&irda_config->gpio_expa);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment