[linux-dvb] problems and workaround when tuning to a channel with DD enabled

Johannes Stezenbach js at linuxtv.org
Fri Jun 10 15:07:40 CEST 2005


On Fri, Jun 10, 2005 at 01:57:32PM +0200, Wolfgang Rohdewald wrote:
> On Donnerstag 09 Juni 2005 13:09, Dr. Werner Fink wrote:
> > I've a firmware ready which will allow abort the
> > OSDSetBlock command during loading the data with
> > the command ReleaseBmp.
> 
> Would it be safe if OSDSetBlock always calls ReleaseBmp
> at the end? Or should it only do so after success or -ERESTARTSYS?
> The latter is what I coded for now.
> 
> I suppose for FW before 261e ReleaseBmp should only be called 
> on success

Since you cannot be sure the ioctl will be retried I think
ReleaseBmp should always be caled before exiting from OSDSetBlock.

Johannes




More information about the linux-dvb mailing list