Commit 4e26598a authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: flexcan: flexcan_irq(): rename variable reg_iflag -> reg_iflag_rx

This patch renames the variable reg_iflag in the flexcan_irq() function
to reg_iflag_rx. This better reflects the contents of the varibale. It
does not hold the unmodified iflag registers, instead all non RX
interrupts have been masked.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent b36d3c0f
......@@ -897,13 +897,13 @@ static irqreturn_t flexcan_irq(int irq, void *dev_id)
/* reception interrupt */
if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) {
u64 reg_iflag;
u64 reg_iflag_rx;
int ret;
while ((reg_iflag = flexcan_read_reg_iflag_rx(priv))) {
while ((reg_iflag_rx = flexcan_read_reg_iflag_rx(priv))) {
handled = IRQ_HANDLED;
ret = can_rx_offload_irq_offload_timestamp(&priv->offload,
reg_iflag);
reg_iflag_rx);
if (!ret)
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment