]> git.baikalelectronics.ru Git - kernel.git/commit
phy: amlogic: meson8b-usb2: Use a MMIO regmap
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 12 May 2020 22:24:21 +0000 (00:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 15 May 2020 07:46:55 +0000 (13:16 +0530)
commitc0088e99b6d8a90121384a37d8a38b947efa5971
treef1c1b236b2bc335e453be80e66876a9e52dc4b23
parenta32e9fab9178c591bd0351690e69048bc6c0bf9d
phy: amlogic: meson8b-usb2: Use a MMIO regmap

Using a MMIO regmap and switch to regmap_update_bits() to simplify the
code in the driver. Also switch to devm_platform_ioremap_resource()
instead of open-coding it. No functional changes intended.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Thomas Graichen <thomas.graichen@gmail.com>
Link: https://lore.kernel.org/r/20200512222424.549351-4-martin.blumenstingl@googlemail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/Kconfig
drivers/phy/amlogic/phy-meson8b-usb2.c