lkml.org 
[lkml]   [2022]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 07/13] gpu: host1x: Allow reset to be missing
    Date
    From: Mikko Perttunen <mperttunen@nvidia.com>

    Host1x on Tegra234 does not have a software-controllable reset line.
    As such, don't bail out if we don't find one in the device tree.

    Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
    ---
    drivers/gpu/host1x/dev.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c
    index 5a57165ab0f6..c28939850bf6 100644
    --- a/drivers/gpu/host1x/dev.c
    +++ b/drivers/gpu/host1x/dev.c
    @@ -423,9 +423,6 @@ static int host1x_get_resets(struct host1x *host)
    return err;
    }

    - if (WARN_ON(!host->resets[1].rstc))
    - return -ENOENT;
    -
    return 0;
    }

    --
    2.36.1
    \
     
     \ /
      Last update: 2022-06-22 13:39    [W:2.761 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site