Home
last modified time | relevance | path

Searched refs:udc_clock (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/udc/
Ds3c2410_udc.c62 static struct clk *udc_clock; variable
1772 udc_clock = clk_get(NULL, "usb-device"); in s3c2410_udc_probe()
1773 if (IS_ERR(udc_clock)) { in s3c2410_udc_probe()
1775 return PTR_ERR(udc_clock); in s3c2410_udc_probe()
1778 clk_prepare_enable(udc_clock); in s3c2410_udc_probe()
1933 if (!IS_ERR(udc_clock) && udc_clock != NULL) { in s3c2410_udc_remove()
1934 clk_disable_unprepare(udc_clock); in s3c2410_udc_remove()
1935 clk_put(udc_clock); in s3c2410_udc_remove()
1936 udc_clock = NULL; in s3c2410_udc_remove()