Re: [PATCH 06/22] [media] tvp5150: add FORMAT_TRY support for get/set selection handlers

2018-08-09 Thread Marco Felsch
Hi Mauro, during my work for a v2 series, I prepared two patches which fix this in a common way. The first will fix the compiler break and the second will fix a missing dependency, since those helper functions require the media_entity which is only available if MEDIA_CONTROLLER is enabled. I atta

Re: [PATCH 06/22] [media] tvp5150: add FORMAT_TRY support for get/set selection handlers

2018-07-30 Thread Mauro Carvalho Chehab
Em Thu, 28 Jun 2018 18:20:38 +0200 Marco Felsch escreveu: > Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") > the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is > no way to try different selections. The patch adds a helper function to > select the c

[PATCH 06/22] [media] tvp5150: add FORMAT_TRY support for get/set selection handlers

2018-06-28 Thread Marco Felsch
Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is no way to try different selections. The patch adds a helper function to select the correct selection memory space (sub-device file handle or driver stat