]> git.karo-electronics.de Git - linux-beck.git/commit
[media] airspy: enhance sample rate debug calculation precision
authorAntti Palosaari <crope@iki.fi>
Sun, 24 Aug 2014 23:11:27 +0000 (20:11 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:42:33 +0000 (16:42 -0300)
commitb8843c7979fc8ea54efeaef8e9d524c33c42f099
tree7feec03a9df82458297b8463442113bc4b6ac14b
parent8880f2cbdb0a981ea8e6a5ce2915abac26120523
[media] airspy: enhance sample rate debug calculation precision

Sample rate calculation gives a little bit too large results because
in real life there was around one milliseconds (~one usb packet) too
much data for given time. Calculate time more accurate in order to
provide better results.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/airspy/airspy.c