commit | bbeb6b6c07960b8d33bed5352ef462228110c5ab | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Thu Jul 25 15:56:18 2019 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Aug 06 22:54:23 2019 +0200 |
tree | a65a33aa601a5aa6770861e6e3ccba90b1c53071 | |
parent | 3c2588fab65fb083873c6c1e74a1be54345615eb [diff] |
i2c: sprd: Validate the return value of clock initialization The 'enable' clock of I2C master is required, we should return an error if failed to get the 'enable' clock, to make sure the I2C driver can be defer probe if the clock resource is not ready. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>