return ret;
}
- uart_clock_enable(ourport);
-
/* Keep all interrupts masked and cleared */
if (s3c24xx_serial_has_interrupt_mask(port)) {
wr_regl(port, S3C64XX_UINTM, 0xf);
/* reset the fifos (and setup the uart) */
s3c24xx_serial_resetport(port, cfg);
- uart_clock_disable(ourport);
return 0;
}
* so that a potential re-enablement through the pm-callback overlaps
* and keeps the clock enabled in this case.
*/
- clk_disable_unprepare(ourport->clk);
+ uart_clock_disable(ourport);
#ifdef CONFIG_SAMSUNG_CLOCK
ret = device_create_file(&pdev->dev, &dev_attr_clock_source);