i2c: tegra: use atomic poll function during configuration
authorShardar Shariff Md <smohammed@nvidia.com>
Wed, 31 Aug 2016 13:28:43 +0000 (18:58 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 8 Sep 2016 20:34:23 +0000 (22:34 +0200)
commit2bc445e2253f963412083c3eb1fc92a276086389
treeb8418e7a9b779a4adfceae3d1b500df1af79c626
parent89120d66fce9b6df4b9300fab373676648994cb8
i2c: tegra: use atomic poll function during configuration

Use readl_poll_timeout_atomic() function as *wait_for_config_load()
function can be called from interrupt context.

Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c