24 Mar, 2016

1 commit

  • The change fixes potential oops while accessing iomem on invalid address
    if devm_ioremap_resource() fails due to some reason.

    The devm_ioremap_resource() function returns ERR_PTR() and never returns
    NULL, which makes useless a following check for NULL.

    Signed-off-by: Vladimir Zapolskiy
    Fixes: 3a9f5957020f ("pwm: Add Broadcom BCM7038 PWM controller support")
    Acked-by: Florian Fainelli
    Signed-off-by: Thierry Reding

    Vladimir Zapolskiy
     

06 Oct, 2015

1 commit

  • Add support for the BCM7038-style PWM controller found in all BCM7xxx STB SoCs.
    This controller has a hardcoded 2 channels per controller, and cascades a
    variable frequency generator on top of a fixed frequency generator which offers
    a range of a 148ns period all the way to ~622ms periods.

    Signed-off-by: Florian Fainelli
    Signed-off-by: Thierry Reding

    Florian Fainelli