diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-01-28 15:42:49 -0500 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-04-18 10:04:09 -0700 |
commit | 2e0391865bd71e076139ca8059bf68469012c27a (patch) | |
tree | de47dcc342acd2f6549a9c1e372282aaaedc61d1 /drivers/scsi/scsicam.c | |
parent | 6117f86202720cae2397dfcba7acf374cde3c6c9 (diff) |
drm/msm: dpu: Simplify frame_done watchdog timeout calculation
Instead of setting the timeout and then immediately reading it back
(along with the hand-rolled msecs_to_jiffies calculation), just
calculate it once and set it in both places at the same time.
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190128204306.95076-2-sean@poorly.run
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/scsi/scsicam.c')
0 files changed, 0 insertions, 0 deletions