diff options
-rw-r--r-- | drivers/mfd/twl6040.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index a151ee2eed2a..08a693cd38cc 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c | |||
@@ -647,6 +647,8 @@ static int twl6040_probe(struct i2c_client *client, | |||
647 | 647 | ||
648 | twl6040->clk32k = devm_clk_get(&client->dev, "clk32k"); | 648 | twl6040->clk32k = devm_clk_get(&client->dev, "clk32k"); |
649 | if (IS_ERR(twl6040->clk32k)) { | 649 | if (IS_ERR(twl6040->clk32k)) { |
650 | if (PTR_ERR(twl6040->clk32k) == -EPROBE_DEFER) | ||
651 | return -EPROBE_DEFER; | ||
650 | dev_info(&client->dev, "clk32k is not handled\n"); | 652 | dev_info(&client->dev, "clk32k is not handled\n"); |
651 | twl6040->clk32k = NULL; | 653 | twl6040->clk32k = NULL; |
652 | } | 654 | } |