linux/drivers/media
Mauro Carvalho Chehab ac89758697 Revert "[media] dvb_frontend: return -ENOTTY for unimplement IOCTL"
As reported by Klaus Schmidinger:
 "In VDR I use an ioctl() call with FE_READ_UNCORRECTED_BLOCKS on a
  device (using stb0899).  After this call I check 'errno' for
  EOPNOTSUPP to determine whether this device supports this call.  This
  used to work just fine, until a few months ago I noticed that my
  devices using stb0899 didn't display their signal quality in VDR's OSD
  any more.  After further investigation I found that
  ioctl(FE_READ_UNCORRECTED_BLOCKS) no longer returns EOPNOTSUPP, but
  rather ENOTTY.  And since I stop getting the signal quality in case
  any unknown errno value appears, this broke my signal quality query
  function."

While the changes reflect what is there at:

  http://comments.gmane.org/gmane.linux.kernel/1235728

it does cause regression on userspace.  So, revert it to stop the
damage.

This reverts commit 177ffe506c ("[media] dvb_frontend: return -ENOTTY
for unimplement IOCTL").

Reported-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-15 12:11:23 -08:00
..
common
dvb-core Revert "[media] dvb_frontend: return -ENOTTY for unimplement IOCTL" 2013-02-15 12:11:23 -08:00
dvb-frontends Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
firewire
i2c Linux 3.8-rc3 2013-01-11 13:28:19 -02:00
mmc Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
parport
pci Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
platform ARM: arm-soc: Fixes for 3.8-rc, take 2 2013-01-24 12:42:50 -08:00
radio [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
rc Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
tuners
usb [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures 2013-01-11 13:30:27 -02:00
v4l2-core [media] v4l: vb2: Set data_offset to 0 for single-plane output buffers 2013-01-06 09:19:57 -02:00
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c