Re: [PATCH 1/7] clocksource: mips-gic: Enable the clock before using it

From: Andrew Bresticker
Date: Thu May 21 2015 - 18:17:24 EST


On Thu, May 21, 2015 at 2:37 PM, Ezequiel Garcia
<ezequiel.garcia@xxxxxxxxxx> wrote:
> For the clock to be used (e.g. get its rate through clk_get_rate)
> it should be prepared and enabled first.
>
> Also, while the clock is enabled the driver must hold a reference to it,
> so let's remove the call to clk_put.
>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx>

Reviewed-by: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/