Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f791e3c1 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jason Cooper
Browse files

irqchip: renesas-irqc: Use u32 to store 32-bit register values

parent c517d838
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -94,7 +94,7 @@ static int irqc_irq_set_type(struct irq_data *d, unsigned int type)
	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
	int hw_irq = irqd_to_hwirq(d);
	int hw_irq = irqd_to_hwirq(d);
	unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK];
	unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK];
	unsigned long tmp;
	u32 tmp;


	irqc_dbg(&p->irq[hw_irq], "sense");
	irqc_dbg(&p->irq[hw_irq], "sense");


@@ -112,7 +112,7 @@ static irqreturn_t irqc_irq_handler(int irq, void *dev_id)
{
{
	struct irqc_irq *i = dev_id;
	struct irqc_irq *i = dev_id;
	struct irqc_priv *p = i->p;
	struct irqc_priv *p = i->p;
	unsigned long bit = BIT(i->hw_irq);
	u32 bit = BIT(i->hw_irq);


	irqc_dbg(i, "demux1");
	irqc_dbg(i, "demux1");