]> 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)
commite2c39a570dfd2645728686cdca59f052a47a474e
tree65f8113804505091c3e50dbe72057e4255fb678b
parent1ecdc4f629b73daf75d6538a864e7f0d3800cea6
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