summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2024-10-04 06:41:30 +0300
committerVinod Koul <vkoul@kernel.org>2024-10-07 09:13:46 +0300
commitcb4c7df596a9048a6025e96e62fe698f15ec1992 (patch)
tree7e2d78c2db76fbb7c7d212bee638eef7940bce59 /rust/helpers/build_bug.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-cb4c7df596a9048a6025e96e62fe698f15ec1992.tar.xz
phy: usb: Fix missing elements in BCM4908 USB init array
The Broadcom USB PHY driver contains a lookup table (`reg_bits_map_tables`) to resolve register bitmaps unique to certain versions of the USB PHY as found in various Broadcom chip families. A recent commit (see 'fixes' tag) introduced two new elements to each chip family in this table -- except for one: BCM4908. This resulted in the xHCI controller not being initialized correctly, causing a panic on boot. The next patch will update this table to use designated initializers in order to prevent this from happening again. For now, just add back the missing array elements to resolve the regression. Fixes: 4536fe9640b6 ("phy: usb: suppress OC condition for 7439b2") Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Justin Chen <justin.chen@broadcom.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20241004034131.1363813-2-CFSworks@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions