kernel_optimize_test/Documentation/media/uapi
Mauro Carvalho Chehab 259a41d9ae media: dvb_frontend: fix return values for FE_SET_PROPERTY
There are several problems with regards to the return of
FE_SET_PROPERTY. The original idea were to return per-property
return codes via tvp->result field, and to return an updated
set of values.

However, that never worked. What's actually implemented is:

- the FE_SET_PROPERTY implementation doesn't call .get_frontend
  callback in order to get the actual parameters after return;

- the tvp->result field is only filled if there's no error.
  So, it is always filled with zero;

- FE_SET_PROPERTY doesn't call memdup_user() nor any other
  copy_to_user() function. So, any changes to the properties
  will be lost;

- FE_SET_PROPERTY is declared as a write-only ioctl (IOW).

While we could fix the above, it could cause regressions.

So, let's just assume what the code really does, updating
the documentation accordingly and removing the logic that
would update the discarded tvp->result.

Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-10-11 12:58:40 -04:00
..
cec media: cec-ioc-dqevent.rst: document new CEC_EVENT_PIN_HPD_LOW/HIGH events 2017-09-23 07:49:27 -04:00
dvb media: dvb_frontend: fix return values for FE_SET_PROPERTY 2017-10-11 12:58:40 -04:00
mediactl media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
rc media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
v4l media: pixfmt-srggb12p.rst: better format the table for PDF output 2017-09-05 06:33:16 -04:00
fdl-appendix.rst
gen-errors.rst media: gen-errors.rst: document ENXIO error code 2017-09-05 06:15:21 -04:00