Re: [PATCH 6/7] [media] dvb_frontend: pass the props cache to get_frontend() as arg

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

 



On Thu, Feb 4, 2016 at 10:57 AM, Mauro Carvalho Chehab
<mchehab@xxxxxxxxxxxxxxx> wrote:
> Instead of using the DTV properties cache directly, pass the get
> frontend data as an argument. For now, everything should remain
> the same, but the next patch will prevent get_frontend to
> affect the global cache.
>
> This is needed because several drivers don't care enough to only
> change the properties if locked. Due to that, calling
> G_PROPERTY before locking on those drivers will make them to
> never lock. Ok, those drivers are crap and should never be
> merged like that, but the core should not rely that the drivers
> would be doing the right thing.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>

Reviewed-by: Michael Ira Krufky <mkrufky@xxxxxxxxxxx>
--
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