diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c index a86509bac3e429..de35f5beec4de8 100644 --- a/drivers/soundwire/debugfs.c +++ b/drivers/soundwire/debugfs.c @@ -338,8 +338,8 @@ static int cmd_go(void *data, u64 value) pm_runtime_mark_last_busy(&slave->dev); pm_runtime_put(&slave->dev); - dev_dbg(&slave->dev, "command completed, status %d, time %lld ms\n", ret, - (finish_t - start_t) / NSEC_PER_MSEC); + dev_dbg(&slave->dev, "command completed, status %d, time %lld ms\n", + ret, div_u64(finish_t - start_t, NSEC_PER_MSEC)); return ret; }