commit | b9f84adcb834ec2b1fd0ec91676c4b165daf51e6 | [log] [tgz] |
---|---|---|
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | Mon Aug 31 17:31:29 2015 +0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Oct 15 14:07:38 2015 +0200 |
tree | ad2fad95fd7cb1edec2b1ea8b6f9c64db57ce155 | |
parent | c335631a68db4b32b24cb59814c485c45f0f4506 [diff] |
i2c: designware: Disable interrupts before requesting PCI device interrupt Device must not generate interrupts before registering the interrupt handler so move i2c_dw_disable_int() before requesting it. There are no known issues with this. The code has been here since commit fe20ff5c7e9c ("i2c-designware: Add support for Designware core behind PCI devices."). Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>