]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] pwc: Also set alt setting to alt0 when no error occured
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Nov 2010 15:26:00 +0000 (12:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:52 +0000 (08:16 -0200)
commitc7d18867c82657a97f0bdb90ba1151b251b6a29b
tree5ed03e905b120ac30d25b97d4f681eb361a60d5f
parent3751e288bcf3d77652ef979edc0b3ea8b21d8b97
[media] pwc: Also set alt setting to alt0 when no error occured

isoc_cleanup contains a check to not set the altsetting to alt0 when
the device was unplugged, but the check currently is buggy, and causes
the alt setting to only be set to 0 if an error occured while streaming.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pwc/pwc-if.c