-
由 Silvan Wicki 提交于
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: NSilvan Wicki <linux_wi@tinag.ch> [wsa: resolved a merge conflict] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
a294aba1