|
@@ -411,13 +411,16 @@ static int aspeed_gpio_set_type(struct irq_data *d, unsigned int type)
|
|
switch (type & IRQ_TYPE_SENSE_MASK) {
|
|
switch (type & IRQ_TYPE_SENSE_MASK) {
|
|
case IRQ_TYPE_EDGE_BOTH:
|
|
case IRQ_TYPE_EDGE_BOTH:
|
|
type2 |= bit;
|
|
type2 |= bit;
|
|
|
|
+ /* fall through */
|
|
case IRQ_TYPE_EDGE_RISING:
|
|
case IRQ_TYPE_EDGE_RISING:
|
|
type0 |= bit;
|
|
type0 |= bit;
|
|
|
|
+ /* fall through */
|
|
case IRQ_TYPE_EDGE_FALLING:
|
|
case IRQ_TYPE_EDGE_FALLING:
|
|
handler = handle_edge_irq;
|
|
handler = handle_edge_irq;
|
|
break;
|
|
break;
|
|
case IRQ_TYPE_LEVEL_HIGH:
|
|
case IRQ_TYPE_LEVEL_HIGH:
|
|
type0 |= bit;
|
|
type0 |= bit;
|
|
|
|
+ /* fall through */
|
|
case IRQ_TYPE_LEVEL_LOW:
|
|
case IRQ_TYPE_LEVEL_LOW:
|
|
type1 |= bit;
|
|
type1 |= bit;
|
|
handler = handle_level_irq;
|
|
handler = handle_level_irq;
|