diff options
Diffstat (limited to 'drivers/mfd/ezx-pcap.c')
-rw-r--r-- | drivers/mfd/ezx-pcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index f2f4029e21a0..43a76c41cfcc 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c | |||
@@ -185,7 +185,7 @@ static void pcap_isr_work(struct work_struct *work) | |||
185 | ezx_pcap_read(pcap, PCAP_REG_MSR, &msr); | 185 | ezx_pcap_read(pcap, PCAP_REG_MSR, &msr); |
186 | ezx_pcap_read(pcap, PCAP_REG_ISR, &isr); | 186 | ezx_pcap_read(pcap, PCAP_REG_ISR, &isr); |
187 | 187 | ||
188 | /* We cant service/ack irqs that are assigned to port 2 */ | 188 | /* We can't service/ack irqs that are assigned to port 2 */ |
189 | if (!(pdata->config & PCAP_SECOND_PORT)) { | 189 | if (!(pdata->config & PCAP_SECOND_PORT)) { |
190 | ezx_pcap_read(pcap, PCAP_REG_INT_SEL, &int_sel); | 190 | ezx_pcap_read(pcap, PCAP_REG_INT_SEL, &int_sel); |
191 | isr &= ~int_sel; | 191 | isr &= ~int_sel; |
@@ -457,7 +457,7 @@ static int __devinit ezx_pcap_probe(struct spi_device *spi) | |||
457 | pcap->workqueue = create_singlethread_workqueue("pcapd"); | 457 | pcap->workqueue = create_singlethread_workqueue("pcapd"); |
458 | if (!pcap->workqueue) { | 458 | if (!pcap->workqueue) { |
459 | ret = -ENOMEM; | 459 | ret = -ENOMEM; |
460 | dev_err(&spi->dev, "cant create pcap thread\n"); | 460 | dev_err(&spi->dev, "can't create pcap thread\n"); |
461 | goto free_pcap; | 461 | goto free_pcap; |
462 | } | 462 | } |
463 | 463 | ||