public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: swarren@wwwdotorg•org (Stephen Warren)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] clk: tegra: provide tegra_periph_reset_assert alternative
Date: Mon, 24 Jun 2013 12:50:24 -0600	[thread overview]
Message-ID: <51C894F0.2010301@wwwdotorg.org> (raw)
In-Reply-To: <201306212232.27026.arnd@arndb.de>

On 06/21/2013 02:32 PM, Arnd Bergmann wrote:
> We have some tegra device drivers that are written to be platform
> independent but still use the tegra specific tegra_periph_reset_assert
> function. In order to build and link them without errors,
> this provides a static inline version of these functions that
> does nothing when Tegra support is disabled.

> diff --git a/include/linux/clk/tegra.h b/include/linux/clk/tegra.h

> +#ifdef ARCH_TEGRA

That should be CONFIG_ARCH_TEGRA, right? Sorry I didn't notice that
before. This causes the Tegra i2c driver to fail on some platforms in
next-20130624, resulting in a BUG() during boot.

Do you want to amend this patch, or should I send a fixup?

      parent reply	other threads:[~2013-06-24 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 20:32 [PATCH] clk: tegra: provide tegra_periph_reset_assert alternative Arnd Bergmann
2013-06-21 21:19 ` Stephen Warren
2013-06-22 18:06   ` Mike Turquette
2013-06-24 18:50 ` Stephen Warren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C894F0.2010301@wwwdotorg.org \
    --to=swarren@wwwdotorg$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox