Re: [PATCH 1/2] [media] media: don't try to empty links list in media_entity_cleanup()

2015-11-23 Thread Laurent Pinchart
Hello Javier, (Resending as I've replied by mistake to the version of the patch you had sent to the media workshop list only) Thank you for the patch. On Monday 12 October 2015 13:44:11 Mauro Carvalho Chehab wrote: > From: Javier Martinez Canillas > > The media_entity_cleanup() function only

Re: [PATCH 1/2] [media] media: don't try to empty links list in media_entity_cleanup()

2015-11-23 Thread Laurent Pinchart
Hello Javier, (Resending as I've replied by mistake to the version of the patch you had sent to the media workshop list only) Thank you for the patch. On Monday 12 October 2015 13:44:11 Mauro Carvalho Chehab wrote: > From: Javier Martinez Canillas > > The

[PATCH 1/2] [media] media: don't try to empty links list in media_entity_cleanup()

2015-08-26 Thread Javier Martinez Canillas
The media_entity_cleanup() function only cleans up the entity links list but this operation is already made in media_device_unregister_entity(). In most cases this should be harmless (besides having duplicated code) since the links list would be empty so the iteration would not happen but the

[PATCH 1/2] [media] media: don't try to empty links list in media_entity_cleanup()

2015-08-26 Thread Javier Martinez Canillas
The media_entity_cleanup() function only cleans up the entity links list but this operation is already made in media_device_unregister_entity(). In most cases this should be harmless (besides having duplicated code) since the links list would be empty so the iteration would not happen but the