[PATCH v2] irqchip/irq-mst: Support polarity configuration

Daniel Palmer daniel at 0x0f.com
Mon Mar 8 13:40:36 GMT 2021


Hi Mark-PK,

On Mon, 8 Mar 2021 at 15:05, Mark-PK Tsai <mark-pk.tsai at mediatek.com> wrote:
> +static int mst_irq_chip_set_type(struct irq_data *data, unsigned int type)
> +{
> +       if (type != IRQ_TYPE_LEVEL_LOW && type != IRQ_TYPE_LEVEL_HIGH)
> +               return -EINVAL;
> +

Does this mean we can't do rising or falling edge interrupts?

Thanks,

Daniel



More information about the Linux-mediatek mailing list