kernel_optimize_test/Documentation/media
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-drivers media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
dvb-drivers media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
kapi media: cec-core.rst/cec-ioc-receive.rst: clarify CEC_TX_STATUS_ERROR 2017-09-23 07:41:38 -04:00
uapi media: dvb_frontend: fix return values for FE_SET_PROPERTY 2017-10-11 12:58:40 -04:00
v4l-drivers media: add qcom_camss.rst to v4l-drivers rst file 2017-09-05 07:28:25 -04:00
.gitignore docs-rst: media: build SVG from graphviz files 2016-11-30 17:07:54 -07:00
audio.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
ca.h.rst.exceptions media: ca.h: get rid of CA_SET_PID 2017-09-05 06:06:56 -04:00
cec.h.rst.exceptions media: cec-ioc-dqevent.rst: fix typo 2017-09-23 07:40:25 -04:00
conf_nitpick.py [media] conf_nitpick.py: ignore C domain data used on vb2 2016-09-09 10:18:07 -03:00
conf.py
dmx.h.rst.exceptions media: dmx.h: add kernel-doc markups and use it at Documentation/ 2017-09-05 06:05:40 -04:00
frontend.h.rst.exceptions media: dvb frontend docs: use kernel-doc documentation 2017-09-05 05:57:35 -04:00
index.rst media: index.rst: don't write "Contents:" on PDF output 2017-09-05 06:30:41 -04:00
intro.rst docs-rst: Don't use explicit Makefile rules to build SVG and DOT files 2017-03-13 16:41:22 -06:00
lirc.h.rst.exceptions [media] lirc: document lirc modes better 2017-03-24 07:43:26 -03:00
Makefile docs-rst: Don't use explicit Makefile rules to build SVG and DOT files 2017-03-13 16:41:22 -06:00
media_kapi.rst media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
media_uapi.rst media: docs: don't show ToC for each part on PDF output 2017-09-05 06:27:50 -04:00
media.h.rst.exceptions
net.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
typical_media_device.svg media: svg files: simplify files 2017-07-18 11:53:43 -03:00
video.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
videodev2.h.rst.exceptions [media] vidioc-queryctrl.rst: document V4L2_CTRL_FLAG_MODIFY_LAYOUT 2017-04-14 22:53:36 -03:00