OSDN Git Service

net: ipa: introduce gsi_channel_initialized()
authorAlex Elder <elder@linaro.org>
Fri, 12 Feb 2021 14:34:02 +0000 (08:34 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:54:17 +0000 (16:54 -0800)
commit6170b6dab2d4cc14242afb92b980a84113f654ae
treef7f792a45ab805ce885fbcd13c969d0f50eaa9d9
parenta266ad6b5debfee0b9db4d032f5ad8d758b9b087
net: ipa: introduce gsi_channel_initialized()

Create a simple helper function that indicates whether a channel has
been initialized.  This abstacts/hides the details of how this is
determined.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c