i2c: tegra: add support to timeout on clock stretch.
authorShardar Shariff Md <smohammed@nvidia.com>
Thu, 9 Feb 2017 19:14:05 +0000 (00:14 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 1 Mar 2017 09:06:23 +0000 (01:06 -0800)
commite4bf24857495eacc0454dc67bb9e0e103b8a266e
treef63eea3f1ce85055f325ba67e19955b1aace3f92
parent1417b7f72c905df91bbe19dde8d770fe96751212
i2c: tegra: add support to timeout on clock stretch.

Add timeout feature support to report err if clock is
stretched for more then 1msec for specified slave.

Bug 200278349

Change-Id: I6f2fff71faa0b9cf89136a10e60d7c1205a0234c
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/1302289
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/i2c/busses/i2c-tegra.c