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

Commit 63b364d4 authored by Atish Kumar Patra's avatar Atish Kumar Patra Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: glink: Update header to clarify the proper usage



The glink_open function header was not clear enough about its usage.

Update header to state the proper way of invocation of the function.

Change-Id: Ic67745cab72de3bed403063174a1cb8aaa8991f9
Signed-off-by: default avatarAtish Kumar Patra <apatra@codeaurora.org>
parent 5a229196
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1600,6 +1600,10 @@ static void check_link_notifier_and_notify(struct glink_core_xprt_ctx *xprt_ptr,
 * @cfg_ptr:	Open configuration structure (the structure is copied before
 *		glink_open returns).  All unused fields should be zero-filled.
 *
 * This should not be called from link state callback context by clients.
 * It is recommended that client should invoke this function from their own
 * thread.
 *
 * Return:  Pointer to channel on success, PTR_ERR() with standard Linux
 * error code on failure.
 */
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -130,6 +130,10 @@ enum tx_flags {
 * @cfg_ptr:	Open configuration structure (the structure is copied before
 *		glink_open returns).  All unused fields should be zero-filled.
 *
 * This should not be called from link state callback context by clients.
 * It is recommended that client should invoke this function from their own
 * thread.
 *
 * Return:  Pointer to channel on success, PTR_ERR() with standard Linux
 * error code on failure.
 */