Re: [PATCHv3 03/20] cx231xx: add media controller support

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

 



Hi Shuah,

Em Wed, 7 Jan 2015 18:44:26 -0700
Shuah Khan <shuahkhan@xxxxxxxxx> escreveu:

> > +
> >         /* Create v4l2 device */
> > +       dev->v4l2_dev.mdev = dev->media_dev;
> 
> When media_device_register(mdev) fails in cx231xx_media_device_register(),
> media_dev is null? The above will simply assign null to dev->v4l2_dev.mdev
> Is that correct?

Yes, this is intentional. If the media controls fail to register, everything 
will keep working, except for the media controller itself. That sounds better,
IMHO, than to have a complete failure.

Cheers,
Mauro
--
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