Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437122 > unrolled thread

Re: [PATCH] i2c: tegra: Correct error path in probe

Started byWolfram Sang <wsa@the-dreams.de>
First post2016-07-05 17:30 +0200
Last post2016-07-05 17:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] i2c: tegra: Correct error path in probe Wolfram Sang <wsa@the-dreams.de> - 2016-07-05 17:30 +0200

#1437122 — Re: [PATCH] i2c: tegra: Correct error path in probe

FromWolfram Sang <wsa@the-dreams.de>
Date2016-07-05 17:30 +0200
SubjectRe: [PATCH] i2c: tegra: Correct error path in probe
Message-ID<rRAsp-4Ci-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jun 14, 2016 at 09:26:46PM +0100, Jon Hunter wrote:
> Commit 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210")
> enables the Tegra I2C 'div_clk' for adapters using the multi-master mode
> during the device probe. Although the probe error path was updated to
> disable the clock on probe failure, there is one place after calling
> tegra_i2c_init() where the clock will not be disabled on failure. Correct
> the error path so that the 'div_clk' is disabled if calling
> tegra_i2c_init() fails.
> 
> Fixes: 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210")
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>

Applied to for-current, thanks!

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web