Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571AbdIENFT (ORCPT ); Tue, 5 Sep 2017 09:05:19 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:32925 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbdIENFP (ORCPT ); Tue, 5 Sep 2017 09:05:15 -0400 X-Google-Smtp-Source: ADKCNb5ghjzUtAuRyGMdvH/ItipgdxcpeYDjFnNTBDibCWmsSe5GWbZ8fB7AbMICzx6M43BZQa+isA== Subject: Re: [PATCH v2 5/6] gpu: host1x: Fix incorrect comment for channel_request To: Mikko Perttunen , thierry.reding@gmail.com, jonathanh@nvidia.com Cc: dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20170905081029.19769-1-mperttunen@nvidia.com> <20170905081029.19769-6-mperttunen@nvidia.com> From: Dmitry Osipenko Message-ID: Date: Tue, 5 Sep 2017 16:05:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170905081029.19769-6-mperttunen@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1090 Lines: 28 On 05.09.2017 11:10, Mikko Perttunen wrote: > This function actually doesn't sleep in the version that was merged. > > Signed-off-by: Mikko Perttunen > --- > drivers/gpu/host1x/channel.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c > index db9b91d1384c..2fb93c27c1d9 100644 > --- a/drivers/gpu/host1x/channel.c > +++ b/drivers/gpu/host1x/channel.c > @@ -128,8 +128,7 @@ static struct host1x_channel *acquire_unused_channel(struct host1x *host) > * host1x_channel_request() - Allocate a channel > * @device: Host1x unit this channel will be used to send commands to > * > - * Allocates a new host1x channel for @device. If there are no free channels, > - * this will sleep until one becomes available. May return NULL if CDMA > + * Allocates a new host1x channel for @device. May return NULL if CDMA > * initialization fails. > */ > struct host1x_channel *host1x_channel_request(struct device *dev) > Reviewed-by: Dmitry Osipenko -- Dmitry