]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware-baytrail: cross-check lock functions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Feb 2015 17:06:09 +0000 (19:06 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 7 Mar 2015 00:08:06 +0000 (01:08 +0100)
commit879d845a3d051ddb3fb21e086abbdbe9861f84d4
tree9c7fddeab268dda58e1de76b77e54c5b5febf1f5
parent7dbf7391ad0ce0ef458ff5800052bd1cf93b1904
i2c: designware-baytrail: cross-check lock functions

It seems the idea behind the cross-check is to prevent acquire semaphore when
there is no release callback and vice versa. Thus, patch fixes a typo.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-baytrail.c