Commit 45bd862c authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Thierry Reding

gpu: host1x: Fix incorrect comment for channel_request

This function actually doesn't sleep in the version that was merged.
Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 2a79c034
...@@ -128,8 +128,7 @@ static struct host1x_channel *acquire_unused_channel(struct host1x *host) ...@@ -128,8 +128,7 @@ static struct host1x_channel *acquire_unused_channel(struct host1x *host)
* host1x_channel_request() - Allocate a channel * host1x_channel_request() - Allocate a channel
* @device: Host1x unit this channel will be used to send commands to * @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, * Allocates a new host1x channel for @device. May return NULL if CDMA
* this will sleep until one becomes available. May return NULL if CDMA
* initialization fails. * initialization fails.
*/ */
struct host1x_channel *host1x_channel_request(struct device *dev) struct host1x_channel *host1x_channel_request(struct device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment