f461694b965b8cdf67c330d14c802a74acf7bec1 |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: change parameter type of m88ts2022_cmd It is driver internal function and does not need anything from frontend structure. Due to that change parameter type to driver state which is better for driver internal functions. Also remove one unused variable from state itself. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
35c77a85463cacf7fe2fa8e998698170c42e80f6 |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: convert to RegMap I2C API Use RegMap to cover I2C register routines. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
b8d67ab656288457a6728284d3a054544f629979 |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: clean up logging There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
eb773df5d2cf68be127b2ee146336f888962a521 |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: rename device state (priv => dev) foo_dev seems to be most correct term for the structure holding data of each device instance. It is most used term in Kernel and also examples from book Linux Device Drivers, Third Edition, uses it. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
6380b975b76478ee0fd7c43d8833a52dfb5b57eb |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: fix coding style issues Fix coding style issues pointed out by checkpatch.pl. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
f538e085138e519e25ae0828bd6c6e7492ce8ca4 |
|
21-Aug-2014 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: fix 32bit overflow on filter calc Maximum satellite symbol rate used is 45000000Sps which overflows when multiplied by 135. As final calculation result is fraction, we could use mult_frac macro in order to keep calculation inside 32 bit number limits and prevent overflow. Original bug and fix was provided by Nibble Max. I decided to implement it differently as it is now. Reported-by: Nibble Max <nibble.max@gmail.com> Tested-by: Nibble Max <nibble.max@gmail.com> Cc: <stable@kernel.org> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
b03129ff7b8ed4abe0b80e092ad71a6203c2d367 |
|
18-Dec-2013 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: fix some style issues reported by checkpatch.pl Latest checkpatch.pl has some new requirements for coding style. Fix some of those. * remove Free Software Foundation postal address * use sizeof(*foo), not sizeof(struct foo) Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
eafa2ad6e46c523da7d6970306167b24c861504f |
|
02-Dec-2013 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: convert to Kernel I2C driver model Convert driver from proprietary DVB driver model to standard I2C driver model. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
c19314b09bc0839736f2c74422b21de36a86e7b7 |
|
02-Dec-2013 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: reimplement synthesizer calculations Used synthesizer is very typical integer-N PLL, with configurable reference frequency divider, output frequency divider and of course N itself. Most common method to calculate values is first select output divider, then calculate VCO frequency and finally calculate PLL N from VCO frequency. Do it that way. Also make some cleanups for filter logic and signal strength. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
050ae82c35fd8bb72b27becb1b9d19c7f5978234 |
|
07-Nov-2013 |
Antti Palosaari <crope@iki.fi> |
[media] m88ts2022: do not use dynamic stack allocation I2C transfer were using dynamic stack allocation. Get rid of it. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
695efd010b1328b25462128e48856e87c8df4314 |
|
25-Feb-2013 |
Antti Palosaari <crope@iki.fi> |
[media] Montage M88TS2022 silicon tuner driver M88TS2022 is DVB-S/S2 RF tuner used usually in conjunction with Montage M88DS3103 DVB-S/S2 demodulator. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|