From: Szymon Janc Date: Thu, 25 Oct 2012 15:29:45 +0000 (+0200) Subject: NFC: pn533: Fix missing lock while operating on commands list X-Git-Tag: v3.7-rc7~22^2~3^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ad07ab6bc86f48b6ebda1788d79ca5f88d824c;p=pandora-kernel.git NFC: pn533: Fix missing lock while operating on commands list In pn533_wq_cmd command was removed from list without cmd_lock held (race with pn533_send_cmd_frame_async) which could lead to list corruption. Delete command from list before releasing lock. Signed-off-by: Szymon Janc Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed