Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued
[deliverable/linux.git] / drivers / pps / kc.c
index a16cea2ba980ff079f8ee4b38b2d29e0cf482002..e219db1f1c84dd63af594b301c8eb0a94359d779 100644 (file)
@@ -113,12 +113,10 @@ void pps_kc_event(struct pps_device *pps, struct pps_event_time *ts,
                int event)
 {
        unsigned long flags;
-       struct timespec64 real = timespec_to_timespec64(ts->ts_real);
-       struct timespec64 raw = timespec_to_timespec64(ts->ts_raw);
 
        /* Pass some events to kernel consumer if activated */
        spin_lock_irqsave(&pps_kc_hardpps_lock, flags);
        if (pps == pps_kc_hardpps_dev && event & pps_kc_hardpps_mode)
-               hardpps(&real, &raw);
+               hardpps(&ts->ts_real, &ts->ts_raw);
        spin_unlock_irqrestore(&pps_kc_hardpps_lock, flags);
 }
This page took 0.024852 seconds and 5 git commands to generate.