From: Tomas Winkler Date: Thu, 19 Mar 2015 10:10:09 +0000 (+0200) Subject: mei: fix regression on NFC connection X-Git-Tag: omap-for-v4.2/o2_dc~63^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab3ae0096a6d31e1b244c5c5155f48ef3700329e;p=pandora-kernel.git mei: fix regression on NFC connection In mei_host_client_init function we enable the all internal connected clients including NFC. This is done before we set the device to enabled state and let userspace call open. We need to check only for MEI_FILE_CONNECTED in mei_cl_is_connected in order to enable the communication with the clients before MEI_DEV_ENABLED is set. Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed