We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa21a28 commit 8cc393bCopy full SHA for 8cc393b
drivers/iio/adc/imx7d_adc.c
@@ -388,8 +388,9 @@ static irqreturn_t imx7d_adc_isr(int irq, void *dev_id)
388
* timeout flags.
389
*/
390
if (status & IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT) {
391
- pr_err("%s: ADC got conversion time out interrupt: 0x%08x\n",
392
- dev_name(info->dev), status);
+ dev_err(info->dev,
+ "ADC got conversion time out interrupt: 0x%08x\n",
393
+ status);
394
status &= ~IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT;
395
writel(status, info->regs + IMX7D_REG_ADC_INT_STATUS);
396
}
0 commit comments