[PATCH 2/7] Serial: Samsung: Fix uart clock init order The clk_get API returns -ENOENT when invoked from s3c24xx_serial_initconsole. This happens since the serial_console gets registered before the platform driver is registered.Defer the call to clk_get to s3c24xx_serial_probe so that the API returns a valid clock. Signed-off-by: Shaju Abraham <shaju.abraham at linaro.org>

Jon Loeliger jdl at jdl.com
Tue Sep 21 00:26:11 EST 2010


> ---
>  drivers/serial/samsung.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)


A patch Subject: line should be a concise summary of the patch.
The details are separated into a new paragraph formatted to a
maximum 80-col width.

    Subject: Re: [PATCH 2/7] Serial: Samsung: Fix uart clock init order

    The clk_get API returns -ENOENT when invoked from
    s3c24xx_serial_initconsole.  This happens since the serial_console
    gets registered before the platform driver is registered.  Defer the
    call to clk_get to s3c24xx_serial_probe so that the API returns a
    valid clock.

    Signed-off-by: Shaju Abraham <shaju.abraham at linaro.org>

Thanks.
jdl


More information about the devicetree-discuss mailing list