regulator: rt4831: Add bypass mask to fix set_bypass API work
authorChiYuan Huang <cy_huang@richtek.com>
Fri, 25 Mar 2022 01:26:16 +0000 (09:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 25 Mar 2022 16:09:30 +0000 (16:09 +0000)
commit184ae0e32bc990bba203b60503df89c9f8865f13
tree5e6525b4c0bb69f9576b93de4b626348cc073c07
parent5999f85ddeb436b4007878f251a30ccc8b9c638b
regulator: rt4831: Add bypass mask to fix set_bypass API work

To use set/get_bypass helper function, bypass mask need to be specified.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1648171577-9663-2-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rt4831-regulator.c