HID: intel-ish-hid: ishtp: add helper functions for client buffer operation

Add helper ishtp_cl_tx_empty() and ishtp_cl_rx_get_rb() to hide internal
details from callers, who needs this functionality.

Signed-off-by: Even Xu <even.xu@intel.com>
Reviewed-by: Andriy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Even Xu 2018-09-11 16:44:15 -07:00 • committed by Jiri Kosina
commit a1c40ce62f
2 changed files with 47 additions and 0 deletions