OSDN Git Service

i2c: mux: mlxcpld: Extend supported mux number
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 8 Feb 2021 20:16:05 +0000 (22:16 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 9 Feb 2021 10:35:38 +0000 (11:35 +0100)
commit699c0506543ee9ba3f5a67ab0837b292b098aeb4
tree18aeb15f4872ff23cc4ad35c855ac1cb424018bc
parentc52a1c5f5db55c6a71110c2db9ae26b9f5269d20
i2c: mux: mlxcpld: Extend supported mux number

Allow to extend mux number supported by driver.
Currently it is limited by eight, which is not enough for new coming
Mellanox modular system with line cards, which require up to 64 mux
support.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/muxes/i2c-mux-mlxcpld.c