]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: define clock and interconnect data
authorAlex Elder <elder@linaro.org>
Thu, 19 Nov 2020 22:40:39 +0000 (16:40 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Nov 2020 02:44:59 +0000 (18:44 -0800)
commit57be504a4e8eb152066ea39f1e2aafee11e7e23c
tree65f8113804505091c3e50dbe72057e4255fb678b
parent97164aed3fa58663b97fbd0ae09ebe833d9810f3
net: ipa: define clock and interconnect data

Define a new type of configuration data, used to initialize the
IPA core clock and interconnects.  This is the first of three
patches, and defines the data types and interface but doesn't
yet use them.

Switch the return value if there is no matching configuration data
to ENODEV instead of ENOTSUPP (to avoid using the nonstandard errno).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_clock.c
drivers/net/ipa/ipa_clock.h
drivers/net/ipa/ipa_data.h
drivers/net/ipa/ipa_main.c