]> git.karo-electronics.de Git - linux-beck.git/commit
staging/easycap: kill telltale logic
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 5 Jul 2011 18:07:47 +0000 (21:07 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:47:46 +0000 (19:47 -0700)
commitcdaa898b5efcc598ab1004e8f913061dc7005091
treea5774393834d410a5a4130dcf2ad9d602f1e8b30
parentcbbd8a580e67009a7109b5070c9b02b08da92caf
staging/easycap: kill telltale logic

This reason for this feature was

'some versions of the videodev module overwrite the data which has
been written by the call to usb_set_intfdata() in easycap_usb_probe(),
replacing it with a pointer to the embedded v4l2_device structure.
to detect this, the string in the easycap.telltale[] buffer is checked.'

The upstream version of v4l2_device_register sets driver data
only when it wasn't already set, therefore this is not needed

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_ioctl.c
drivers/staging/easycap/easycap_main.c
drivers/staging/easycap/easycap_sound.c