mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
media: rockchip: vicap used ktime_get_boottime_ns for rv1126b to get timestamp
Change-Id: I28ea36f533a4b363d99e3efbc6b7ae1632a6b45b Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
@@ -1177,7 +1177,8 @@ void rkcif_free_buf_by_user_require(struct rkcif_device *dev);
|
||||
static inline u64 rkcif_time_get_ns(struct rkcif_device *dev)
|
||||
{
|
||||
if (dev->chip_id == CHIP_RV1106_CIF ||
|
||||
dev->chip_id == CHIP_RV1103B_CIF)
|
||||
dev->chip_id == CHIP_RV1103B_CIF ||
|
||||
dev->chip_id == CHIP_RV1126B_CIF)
|
||||
return ktime_get_boottime_ns();
|
||||
else
|
||||
return ktime_get_ns();
|
||||
|
||||
Reference in New Issue
Block a user