i2c: aspeed: Remove hard-coded bus timeout value setting
PATCH 1/1 i2c: aspeed: Remove hard-coded bus timeout value setting
This commit removes hard-coded bus timeout value setting so that it can be set by i2c-core-base.
Signed-off-by Jae Hyun Yoo <[email protected]>
Reviewed-by Joel Stanley <[email protected]>
Reviewed-by Brendan Higgins <[email protected]>
--- drivers/i2c/busses/i2c-aspeed.c | 1 - 1 file changed, 1 deletion(-)
drivers/i2c/busses/i2c-aspeed.c +0 -1
@@ -930,7 +930,6 @@ static int aspeed_i2c_probe_bus(struct platform_device *pdev)init_completion (&bus->cmd_complete); bus->adap.owner =THIS_MODULE ; bus->adap.retries =0 ; - bus->adap.timeout =5 *HZ ; bus->adap.algo = &aspeed_i2c_algo; bus->adap.dev.parent = &pdev->dev; bus->adap.dev.of_node = pdev->dev.of_node;
Signature · 1 line
2.20.1
Wolfram Sang
AppliedQuoted 6 lines · Jae Hyun Yoo
This commit removes hard-coded bus timeout value setting so that it can be set by i2c-core-base.
Signed-off-by Jae Hyun Yoo <[email protected]>Reviewed-by Joel Stanley <[email protected]>Reviewed-by Brendan Higgins <[email protected]>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20190123/f5021458/attachment.sig>