]> git.baikalelectronics.ru Git - kernel.git/commit
gpio/pca953x: Use handle_simple_irq instead of handle_edge_irq
authorErik Botö <erik.boto@pelagicore.com>
Fri, 20 May 2011 06:40:18 +0000 (00:40 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:40:18 +0000 (00:40 -0600)
commit4f2aa650fc7ec79af6f38afceb56d870ced81ac2
treec0fe939534c0a69e8ea6ee75bb64e6fabeb14cde
parent81ee81d6c36dc410b0748091a8f351019473f353
gpio/pca953x: Use handle_simple_irq instead of handle_edge_irq

Make pca953x driver use the simple irq handler since no hardware control
is necessary and the driver lacks an irq_ack function. handle_edge_irq()
calls chip->irq_ack() which crashes since this function does not exist.

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/pca953x.c