lkml.org 
[lkml]   [2005]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 5/5] TI OMAP driver
10/19/2005 10:19 AM, dsaxena@plexity.net wrote/a écrit:
> This patch implements the OMAP RNG driver.
>
> Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
>
> ---
>
> Builts but untested as I do not hardware.
>
> Index: linux-omap-2.6/drivers/char/rng/omap-rng.c
> ===================================================================
> --- /dev/null
> +++ linux-omap-2.6/drivers/char/rng/omap-rng.c

> +#ifdef CONFIG_PM
> +
> +static int omap_rng_suspend(struct device *dev, pm_message_t message, u32 level)
> +{
> + omap_rng_write_reg(RNG_MASK_REG, 0x0);
> +
> + return 0;
> +}
> +
> +static int omap_rng_suspend(struct device *dev, pm_message_t message, u32 level)
> +{
> + omap_rng_write_reg(RNG_MASK_REG, 0x1);
> +
> + return 1;
> +}
Probably one of them should be called omap_rng_resume() ?

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-19 11:41    [W:0.074 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site