Searched hist:"9 c1587d99f9305aa4f10b47fcf1981012aa5381f" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/usb/isp1760/ |
H A D | isp1760-regs.h | diff 9c1587d99f9305aa4f10b47fcf1981012aa5381f Fri Aug 27 15:11:54 CEST 2021 Rui Miguel Silva <rui.silva@linaro.org> usb: isp1760: otg control register access
The set/clear of the otg control values is done writing to two different 16bit registers, however we setup the regmap width for isp1760/61 to 32bit value bits.
So, just access the clear register address (0x376)as the high part of the otg control register set (0x374), and write the values in one go to make sure they get clear/set.
Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Link: https://lore.kernel.org/r/20210827131154.4151862-6-rui.silva@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | isp1760-core.c | diff 9c1587d99f9305aa4f10b47fcf1981012aa5381f Fri Aug 27 15:11:54 CEST 2021 Rui Miguel Silva <rui.silva@linaro.org> usb: isp1760: otg control register access
The set/clear of the otg control values is done writing to two different 16bit registers, however we setup the regmap width for isp1760/61 to 32bit value bits.
So, just access the clear register address (0x376)as the high part of the otg control register set (0x374), and write the values in one go to make sure they get clear/set.
Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Link: https://lore.kernel.org/r/20210827131154.4151862-6-rui.silva@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|