[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52FBC2EF.4020000@wwwdotorg.org>
Date: Wed, 12 Feb 2014 11:52:31 -0700
From: Stephen Warren <swarren@...dotorg.org>
To: Andrew Chew <achew@...dia.com>, linux@...ck-us.net, wim@...ana.be,
rob@...dley.net, thierry.reding@...il.com, grant.likely@...aro.org,
robh+dt@...nel.org, abrestic@...omium.org, dgreid@...omium.org,
katierh@...omium.org
CC: linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v5 1/1] watchdog: Add tegra watchdog
On 02/06/2014 06:54 PM, Andrew Chew wrote:
> Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 and
> later). This driver will configure one watchdog timer that will reset the
> system in the case of a watchdog timeout.
>
> This driver binds to the nvidia,tegra30-timer device node and gets its
> register base from there.
Tested-by: Stephen Warren <swarren@...dia.com>
Briefly,
Reviewed-by: Stephen Warren <swarren@...dia.com>
Just a couple small comments though.
> diff --git a/drivers/watchdog/tegra_wdt.c b/drivers/watchdog/tegra_wdt.c
> +static void tegra_wdt_ref(struct watchdog_device *wdd)
> +{
> + struct tegra_wdt *wdt = watchdog_get_drvdata(wdd);
> +
> + kref_get(&wdt->kref);
> +}
> +
> +static void tegra_wdt_unref(struct watchdog_device *wdd)
> +{
> + struct tegra_wdt *wdt = watchdog_get_drvdata(wdd);
> +
> + kref_put(&wdt->kref, tegra_wdt_release_resources);
> +}
I forget why these were needed; they seem to do nothing.
> +MODULE_LICENSE("GPL");
That should be "GPL v2" according to the license header in the file.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists