]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers:soundwire: qcom: cleanup port maask calculations
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 18 Jun 2024 13:55:15 +0000 (14:55 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Jul 2024 11:19:56 +0000 (16:49 +0530)
commit518aee32c551d2f7d1e577f63df6dfcc80259b50
tree12cba17b7a99d86716b5568ec837d4c5b406e24a
parent5a4c1f0207d8925c45a516d8dc85f0dd70c020ef
drivers:soundwire: qcom: cleanup port maask calculations

Cleanup the port map calculations, existing masks of having separate
masks for in and out ports is not really required.
Having a single mask for all the ports in the controller is simple and
cuts of some unnecessary code.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240618-soundwire-port-map-v1-1-9644e5545b9b@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c