-
Silvan Wicki authored
Checks if the cdiv value is in between min (0x2) and max (0xFFFE) supported values by the bcm2835. If not, it returns -ENODEV. See page 33/34 of BCM2835-ARM-Peripherals.pdf for the DIV register. https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdfSigned-off-by:
Silvan Wicki <linux_wi@tinag.ch> [wsa: resolved a merge conflict] Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
a294aba1