Message ID | 20250314152939.2759573-18-serghox@gmail.com |
---|---|
State | New |
Headers | show |
Series | [01/18] media: coda: Add print if irq isn't present | expand |
diff --git a/drivers/media/platform/chips-media/coda/coda-common.c b/drivers/media/platform/chips-media/coda/coda-common.c index 3782219c8a2b..b73b09b3baf9 100644 --- a/drivers/media/platform/chips-media/coda/coda-common.c +++ b/drivers/media/platform/chips-media/coda/coda-common.c @@ -2873,7 +2873,7 @@ static int coda_hw_init(struct coda_dev *dev) data = coda_read(dev, CODA_REG_BIT_CODE_RESET); data |= CODA_REG_RESET_ENABLE; coda_write(dev, data, CODA_REG_BIT_CODE_RESET); - udelay(10); + usleep_range(10, 20); data &= ~CODA_REG_RESET_ENABLE; coda_write(dev, data, CODA_REG_BIT_CODE_RESET); coda_write(dev, CODA_REG_RUN_ENABLE, CODA_REG_BIT_CODE_RUN);