lkml.org 
[lkml]   [2014]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.16 089/127] ARM: at91/PMC: dont forget to write PMC_PCDR register to disable clocks
    Date
    3.16-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Ludovic Desroches <ludovic.desroches@atmel.com>

    commit cfa1950e6c6b72251e80adc736af3c3d2907ab0e upstream.

    When introducing support for sama5d3, the write to PMC_PCDR register has
    been accidentally removed.

    Reported-by: Nathalie Cyrille <nathalie.cyrille@atmel.com>
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/arm/mach-at91/clock.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/arm/mach-at91/clock.c
    +++ b/arch/arm/mach-at91/clock.c
    @@ -962,6 +962,7 @@ static int __init at91_clock_reset(void)
    }

    at91_pmc_write(AT91_PMC_SCDR, scdr);
    + at91_pmc_write(AT91_PMC_PCDR, pcdr);
    if (cpu_is_sama5d3())
    at91_pmc_write(AT91_PMC_PCDR1, pcdr1);




    \
     
     \ /
      Last update: 2014-10-28 08:01    [W:2.389 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site