summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorRyan Wanner <Ryan.Wanner@microchip.com>2025-09-08 23:07:17 +0300
committerNicolas Ferre <nicolas.ferre@microchip.com>2025-09-17 20:15:32 +0300
commite0237f5635727d64635ec6665e1de9f4cacce35c (patch)
tree463a35def2787c6d86052c60a5147b9f65c34118 /rust/helpers/vmalloc.c
parentaf98caeaa7b6ad11eb7b7c8bfaddc769df2889f3 (diff)
downloadlinux-e0237f5635727d64635ec6665e1de9f4cacce35c.tar.xz
clk: at91: clk-master: Add check for divide by 3
A potential divider for the master clock is div/3. The register configuration for div/3 is MASTER_PRES_MAX. The current bit shifting method does not work for this case. Checking for MASTER_PRES_MAX will ensure the correct decimal value is stored in the system. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions