From: Mauro Carvalho Chehab Date: Tue, 10 Jan 2012 11:48:50 +0000 (-0200) Subject: [media] cx231xx: fix device disconnect checks X-Git-Tag: v3.3-rc1~48^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=990862a2f024296f27460306393de8f0cdab8997;p=pandora-kernel.git [media] cx231xx: fix device disconnect checks The driver were using DEV_MISCONFIGURED on some places, and DEV_DISCONNECTED on others. In a matter of fact, DEV_MISCONFIGURED were set only during the usb disconnect callback, with was confusing. Also, the alsa driver never checks if the device is present, before doing some dangerous things. Remove DEV_MISCONFIGURED, replacing it by DEV_DISCONNECTED. Also, fixes the other usecases for DEV_DISCONNECTED. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed