summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2023-08-08 12:37:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-09 15:15:52 +0300
commitfb57f829beefd4b3746f1b23d51e80ed5d4bb87b (patch)
tree40b2b3e110d207eefe8140b41594bf1bda930865 /drivers/usb/host/ehci.h
parentff33299ec8bb80cdcc073ad9c506bd79bb2ed20b (diff)
downloadlinux-fb57f829beefd4b3746f1b23d51e80ed5d4bb87b.tar.xz
usb: dwc3: dwc3-octeon: Verify clock divider
Although valid USB clock divider will be calculated for all valid Octeon core frequencies, make code formally correct limiting divider not to be greater that 7 so it fits into H_CLKDIV_SEL field. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> Closes: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230808/testrun/18882876/suite/build/test/gcc-8-cavium_octeon_defconfig/log Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/ZNIM7tlBNdHFzXZG@lenoch Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci.h')
0 files changed, 0 insertions, 0 deletions