commit | 8908c61bcc0216246985a3867a728d27cd0ff352 | [log] [tgz] |
---|---|---|
author | Michael Scott <mike@foundries.io> | Mon Jan 27 12:52:56 2020 -0800 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Mon Feb 10 12:29:41 2020 +0200 |
tree | 8bc9e975e73eab96ef982429f36f1e441a8b7111 | |
parent | 987837ecd86cec0ac5398f9b70109a9118d90bde [diff] |
drivers: modem: socket: add wait_data and data_ready functions Let's hide the internals of the modem_socket's sem_data_ready and poll handling with 2 new functions: - modem_socket_wait_data: take a semaphore and wait for data - modem_socket_data_ready: give back the data ready semaphore and unblock poll() users Signed-off-by: Michael Scott <mike@foundries.io>