Derrick Pallas d794155ba6 tuner_r82xx: fix short-write in r82xx_read
In r82xx_read, there is a 1-byte I2C write followed by the I2C read.  If
this I2C write fails, r82xx_read correctly bails out but may return 0.
Callers that check whether (rc < 0) will assume that the buffer was written
when it has not been, e.g. in r82xx_set_tv_standard where

	priv->fil_cal_code = data[4] & 0x0f;

consumes a garbage value for data[4].

This change resolves that issue by copying the error path from r82xx_write.
2020-03-18 23:51:46 +01:00
2020-02-27 00:18:26 +01:00
2012-03-27 20:53:49 +02:00
2012-12-16 16:25:40 +01:00
2020-03-02 21:11:40 +01:00
2012-03-27 20:53:49 +02:00
2012-03-27 20:53:49 +02:00
2020-02-26 22:16:29 +01:00
2020-02-26 22:39:45 +01:00

rtl-sdr
turns your Realtek RTL2832 based DVB dongle into a SDR receiver
======================================================================

For more information see:
https://osmocom.org/projects/rtl-sdr/wiki
Description
Modified Osmocom drivers with enhancements for RTL-SDR Blog V3 and V4 units.
Readme 883 KiB
Languages
C 91.5%
CMake 5.2%
Shell 1.7%
M4 0.9%
Makefile 0.7%