Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -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)