Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331012
b: refs/heads/master
c: 362b29b
h: refs/heads/master
v: v3
  • Loading branch information
Timo Kokkonen authored and Mauro Carvalho Chehab committed Sep 15, 2012
1 parent 16c8064 commit 8fa07de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3404cb5c4dbbbac884722f418d5561d81dba969f
refs/heads/master: 362b29ba6eec506ff769ff465a2418b3fb74c8d6
2 changes: 1 addition & 1 deletion trunk/drivers/media/rc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ config IR_RX51
Say Y or M here if you want to enable support for the IR
transmitter diode built in the Nokia N900 (RX51) device.

The driver uses omap DM timers for gereating the carrier
The driver uses omap DM timers for generating the carrier
wave and pulses.

config RC_LOOPBACK
Expand Down
10 changes: 6 additions & 4 deletions trunk/drivers/media/rc/ir-rx51.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct lirc_rx51 {
int wbuf[WBUF_LEN];
int wbuf_index;
unsigned long device_is_open;
unsigned int pwm_timer_num;
int pwm_timer_num;
};

static void lirc_rx51_on(struct lirc_rx51 *lirc_rx51)
Expand Down Expand Up @@ -125,11 +125,14 @@ static irqreturn_t lirc_rx51_interrupt_handler(int irq, void *ptr)
if (!retval)
return IRQ_NONE;

if ((retval & ~OMAP_TIMER_INT_MATCH))
if (retval & ~OMAP_TIMER_INT_MATCH)
dev_err_ratelimited(lirc_rx51->dev,
": Unexpected interrupt source: %x\n", retval);

omap_dm_timer_write_status(lirc_rx51->pulse_timer, 7);
omap_dm_timer_write_status(lirc_rx51->pulse_timer,
OMAP_TIMER_INT_MATCH |
OMAP_TIMER_INT_OVERFLOW |
OMAP_TIMER_INT_CAPTURE);
if (lirc_rx51->wbuf_index < 0) {
dev_err_ratelimited(lirc_rx51->dev,
": BUG wbuf_index has value of %i\n",
Expand Down Expand Up @@ -472,7 +475,6 @@ struct platform_driver lirc_rx51_platform_driver = {
.remove = __exit_p(lirc_rx51_remove),
.suspend = lirc_rx51_suspend,
.resume = lirc_rx51_resume,
.remove = __exit_p(lirc_rx51_remove),
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
Expand Down

0 comments on commit 8fa07de

Please sign in to comment.