From: Andy Walls Date: Thu, 27 Jan 2011 01:04:24 +0000 (-0300) Subject: [media] lirc_zilog: Convert the instance open count to an atomic_t X-Git-Tag: v2.6.39-rc1~86^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30648550f2f758c9c00c493c8919f89f65438c4;p=pandora-kernel.git [media] lirc_zilog: Convert the instance open count to an atomic_t The open count is simply used for deciding if the Rx polling thread needs to poll the IR chip for userspace. Simplify the manipulation of the open count by using an atomic_t and not requiring a lock The polling thread errantly didn't try to take the lock anyway. Signed-off-by: Andy Walls Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed