disp: msm: updates to msm_drv
Commit c368ec194dd0 ("drm/client: Rename _force to _locked"), commit 4bdc0d676a64 ("remove ioremap_nocache and devm_ioremap_nocache") and commit 595abbaff5db ("y2038: remove ktime to/from timespec/timeval conversion") renames modeset_commit_force, renames devm_ioremap_nocache and removes the usage of timespec. This changes updates the msm driver with the relevant changes. Change-Id: Ib7372b8b4e51cdf75771e5069be189be76c32ed4 Signed-off-by: Samantha Tran <samtran@codeaurora.org> Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:

committad av
orion brody

förälder
0c08cb1fb5
incheckning
640ada10b5
@@ -1363,8 +1363,7 @@ static inline unsigned long timeout_to_jiffies(const ktime_t *timeout)
|
||||
remaining_jiffies = 0;
|
||||
} else {
|
||||
ktime_t rem = ktime_sub(*timeout, now);
|
||||
struct timespec ts = ktime_to_timespec(rem);
|
||||
remaining_jiffies = timespec_to_jiffies(&ts);
|
||||
remaining_jiffies = nsecs_to_jiffies(ktime_to_ns(rem));
|
||||
}
|
||||
|
||||
return remaining_jiffies;
|
||||
|
Referens i nytt ärende
Block a user