[media] v4l2-dv-timings: print refresh rate with better precision
authorPrashant Laddha <prladdha@cisco.com>
Fri, 12 Jun 2015 11:48:10 +0000 (08:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:25:53 +0000 (08:25 -0300)
commit227da85e775065c81e222f443e8379aba4d3f668
tree99f9cc1ac3172d8c3aef852e92097decd6683c8f
parent4366dfef377034e97d5b35677b7a1ebb1f1ce6dc
[media] v4l2-dv-timings: print refresh rate with better precision

In many cases, refresh rate is not exact integer. In such cases,
fraction was lost and it used to print, say, 59 in case of 59.94.
Now, capturing the fraction up to 2 decimal places.

Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dv-timings.c