OSDN Git Service

media: staging: rkisp1: stats: don't set stats flags in rkisp1_stats_send_measurement
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Sat, 9 May 2020 15:29:04 +0000 (17:29 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 11:15:18 +0000 (13:15 +0200)
commit3bee86168657d3d846a12b6687d362d361e0cd35
tree9b67a85f068516b54314abb7d0a68a7808df65d1
parent445093ff76a0b01628637b5890ac332507d8a197
media: staging: rkisp1: stats: don't set stats flags in rkisp1_stats_send_measurement

The flags that indicate which statistics are read are already
set in the functions that read them so there is no need to
set them in the function rkisp1_stats_send_measurement.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-stats.c