[COMMON] media: smfc: change variable for HW runtime
authorSeungchul Kim <sc377.kim@samsung.com>
Fri, 18 Aug 2017 06:31:59 +0000 (15:31 +0900)
committerhskang <hs1218.kang@samsung.com>
Wed, 29 Aug 2018 07:51:43 +0000 (16:51 +0900)
Variable that stores the HW runtime of smfc is changed to
print a HW runtime on platform log.

Change-Id: Ia89bd96fe4b38fc4baa978b7a380b93600b1b046
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c

index 0537c9f415858fd8ac222f92ddf67813187089b8..141adac6198af5b58ee5a87f2a318f11cf309cbd 100644 (file)
@@ -96,8 +96,8 @@ static irqreturn_t exynos_smfc_irq_handler(int irq, void *priv)
                                                        thumb_streamsize);
                        }
 
-                       vb->vb2_buf.timestamp =
-                                       (__u32)ktime_us_delta(ktime, ctx->ktime_beg);
+                       vb->reserved2 =
+                               (__u32)ktime_us_delta(ktime, ctx->ktime_beg);
                        v4l2_m2m_buf_done(vb, state);
 
                        if ((!!(ctx->flags & SMFC_CTX_COMPRESS)) && ctx->enable_hwfc) {