lkml.org 
[lkml]   [2013]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFCv3 07/11] remoteproc: Add state RPROC_LOADED
    Date
    From: Sjur Brændeland <sjur.brandeland@stericsson.com>

    Add state RPROC_LOADED as firmware loading and startup will be
    different states.

    Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
    ---
    drivers/remoteproc/remoteproc_debugfs.c | 1 +
    include/linux/remoteproc.h | 3 ++-
    2 files changed, 3 insertions(+), 1 deletions(-)

    diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c
    index 157a573..a026359 100644
    --- a/drivers/remoteproc/remoteproc_debugfs.c
    +++ b/drivers/remoteproc/remoteproc_debugfs.c
    @@ -68,6 +68,7 @@ static const char * const rproc_state_string[] = {
    "suspended",
    "running",
    "crashed",
    + "loaded",
    "invalid",
    };

    diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
    index faf3332..17b8120 100644
    --- a/include/linux/remoteproc.h
    +++ b/include/linux/remoteproc.h
    @@ -357,7 +357,8 @@ enum rproc_state {
    RPROC_SUSPENDED = 1,
    RPROC_RUNNING = 2,
    RPROC_CRASHED = 3,
    - RPROC_LAST = 4,
    + RPROC_LOADED = 4,
    + RPROC_LAST = 5,
    };

    /**
    --
    1.7.5.4
    --
    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: 2013-01-16 16:44    [W:3.065 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site