diff options
Diffstat (limited to 'drivers/pwm/pwm-omap.c')
-rw-r--r-- | drivers/pwm/pwm-omap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-omap.c b/drivers/pwm/pwm-omap.c index 25605d0..7a74324 100644 --- a/drivers/pwm/pwm-omap.c +++ b/drivers/pwm/pwm-omap.c @@ -166,6 +166,12 @@ static int omap_pwm_probe(struct platform_device *pdev) return -ENOMEM; } + if (pdata->mux_init != NULL) { + status = pdata->mux_init(); + if (status < 0) + goto err_free; + } + /* * Request the OMAP dual-mode timer that will be bound to and * associated with this generic PWM. |