Re: [PATCH] Add lock to af9035 driver for dual mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/27/2013 02:10 AM, Jose Alberto Reguero wrote:
On Jueves, 24 de enero de 2013 10:43:44 Antti Palosaari escribió:
On 01/24/2013 02:15 AM, Jose Alberto Reguero wrote:
On Jueves, 24 de enero de 2013 00:36:25 Antti Palosaari escribió:
On 01/24/2013 12:34 AM, Jose Alberto Reguero wrote:
Add lock to af9035 driver for dual mode.

May I ask why you do that?

regards
Antti

Just to avoid interference between the two demods.

Jose Alberto

... and how you can see that interference? What should I do that I can
see these problems you are trying to fix with that patch.

regards
Antti

It is not to fix any real problem. It is to avoid concurrent access to both
demods to prevent bad effects.

Jose Alberto

You copy & pasted it from the AF9015 driver. The reason why it is there is firmware, which has some problems if it was interrupted in some cases. Like you were asking BER from the demod and then tuner access was done using same I2C adapter. AF9015 firmware offers I2C adapter for 2 demod and 2 RF-tuners. First demod is integrated and is memory mapped - but what I remember you could access it via I2C too. AF9015 fw also has internally some logic, it access to tuner and demod registers directly.

Those locks seen in AF9015 driver are mostly due to af9015 firmware limitations and should not be copied to the any other driver without a real need. AF9035 fw seems to behave a better.

regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux