i2c: designware: add common functions for locking
These are used in 2 places and will be needed in more. Signed-off-by:Lucas De Marchi <lucas.demarchi@intel.com> Acked-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by:
Christian Ruppert <christian.ruppert@alitech.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
Showing
Please register or sign in to comment