[media] s5p-csis: Correct the event counters logging
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 23 Nov 2012 18:17:40 +0000 (15:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 13:58:42 +0000 (11:58 -0200)
commitef2c83262a989dc20268dc25d4ce3725ac9d7886
tree9cc99a23deea34c74d24d93b74516ba4fbb31271
parent1bc05e77db1b0c2f5ec3917a9b21d64c01342b5f
[media] s5p-csis: Correct the event counters logging

The counter field is unsigned so >= 0 condition always evaluates
to true. Fix this to log events for which counter is > 0 or for
all when in debug mode.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/mipi-csis.c