OSDN Git Service

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)
commit30be774b38d845791b1acbd750f19e56c57f0185
tree9c7fddeab268dda58e1de76b77e54c5b5febf1f5
parentc8e043e6f717b0256b1cfc55d03c232e8a5c8cbd
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