History log of /drivers/media/usb/airspy/airspy.c
Revision Date Author Comments
b8843c7979fc8ea54efeaef8e9d524c33c42f099 25-Aug-2014 Antti Palosaari <crope@iki.fi> [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>
8880f2cbdb0a981ea8e6a5ce2915abac26120523 25-Aug-2014 Antti Palosaari <crope@iki.fi> [media] airspy: remove unneeded spinlock irq flags initialization

There is no need to init flags before calling spin_lock_irqsave().
spin_lock_irqsave is a macro which stores value to 'flags'.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
617123ae383e66b3a2c5f57155b49af5bb4327db 25-Aug-2014 Antti Palosaari <crope@iki.fi> [media] airspy: logging changes

Kernel logging system needs pointer to usb interface device in
order to print names and bus numbers properly. There was wrong
device pointer given and log printings wasn't correct.

Remove some debug logging from v4l2 ioctl functions. v4l2 core debug
prints almost same information when enabled.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
7057005db6482516099e7b48b3bebaf9a3f213cb 24-Aug-2014 Antti Palosaari <crope@iki.fi> [media] airspy: coding style issues

Fix issues reported by checkpatch.pl.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
6b831d78477c9bbfbcb4cb60af13e13bd2c7467e 25-Aug-2014 Antti Palosaari <crope@iki.fi> [media] airspy: fix error handling on start streaming

Free all reserved USB buffers and URBs on failure. Return all queued
buffers to vb2 with state queued on error case.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1b303e1a58599e42f858805285f03ccb5a4e18d2 19-Jul-2014 Antti Palosaari <crope@iki.fi> [media] airspy: fill FMT buffer size

Fill FMT buffer size field in order to inform app which will be
used streaming buffer size. Currently driver doesn't allow buffer
size value proposed by application.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
ac4f90ca1b3f6e22fa3f1140e2a73988902e4840 18-Jul-2014 Antti Palosaari <crope@iki.fi> [media] airspy: print notice to point SDR API is not 100% stable yet

Print notice on driver load: "SDR API is still slightly
experimental and functionality changes may follow". It is just
remind possible used SDR API is very new and surprises may occur.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
f3e775962ccbc62bd93f2200b82db88af05d0137 18-Jul-2014 Antti Palosaari <crope@iki.fi> [media] airspy: move out of staging into drivers/media/usb

Move it out of staging into media like all the other SDR drivers
too. There is no good reasons to keep these SDR drivers in staging.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>