From: Christophe Ricard Date: Mon, 28 Jul 2014 16:11:37 +0000 (+0200) Subject: NFC: st21nfca: Fix logic when setting session_id X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~72^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec1f58b9a8ecd72e675c33bfe8ceaf1bc0dc4c5;p=pandora-kernel.git NFC: st21nfca: Fix logic when setting session_id If dev_num >= ST21NFCA_NUM_DEVICES, the driver was returning an incorrect success return code. Once dev_num is set, it was not stated as busy. Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed