From: Chris Rankin Date: Sat, 20 Aug 2011 19:01:26 +0000 (-0300) Subject: [media] em28xx: don't sleep on disconnect X-Git-Tag: v3.2-rc1~112^2~255 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b8bd83cf393832f1d00096b866d888b75b374c3;p=pandora-kernel.git [media] em28xx: don't sleep on disconnect The DVB framework will try to power-down an adapter that no-one is using any more, but this assumes that the adapter is still connected to the machine. That's not always true for a USB adapter, so disable the sleep operations when the adapter has been physically unplugged. This prevents I2C write failures with error -19 from appearing occasionally in the dmesg log. Signed-off-by: Chris Rankin Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed