]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: encapsulate updating three more registers
authorAlex Elder <elder@linaro.org>
Thu, 22 Sep 2022 22:21:00 +0000 (17:21 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Sep 2022 03:56:28 +0000 (20:56 -0700)
commit919a5ff026c88f9c7a07af9c0601fc2ad6d9daa5
treeaeaee8e9f14ea362075b6b631aec8cfbdfd0cc22
parent46db148524d7e161d0d2a365f739e3ac37868433
net: ipa: encapsulate updating three more registers

Create a new function that encapsulates setting the BCR, TX_CFG, and
CLKON_CFG register values during hardware configuration.

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