phy: ti: fix Kconfig warning and operator precedence
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 10 Jan 2023 06:25:29 +0000 (22:25 -0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 11 Jan 2023 07:54:33 +0000 (13:24 +0530)
commit7124c93887cc4e6c5b48920f83115e4a5892e870
tree232010cd5295cb43adfd28f2d10c86a6b95d04d9
parent1b929c02afd37871d5afb9d498426f83432e71c2
phy: ti: fix Kconfig warning and operator precedence

Fix Kconfig depends operator precedence to prevent a Kconfig warning:

WARNING: unmet direct dependencies detected for MUX_MMIO
  Depends on [n]: MULTIPLEXER [=m] && OF [=n]
  Selected by [m]:
  - PHY_AM654_SERDES [=m] && (OF [=n] && ARCH_K3 || COMPILE_TEST [=y]) && COMMON_CLK [=y]

Fixes: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC")
Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Kishon Vijay Abraham I <kishon@kernel.org>
Cc: linux-phy@lists.infradead.org
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230110062529.22668-1-rdunlap@infradead.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/Kconfig