Commit 8815392a authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] omap3isp: ccdc: Rename __ccdc_handle_stopping to ccdc_handle_stopping

There's no need for a double underscore in the function name, remove it.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: default avatarEnrico Butera <ebutera@users.sourceforge.net>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 93d7badf
...@@ -1413,14 +1413,14 @@ static int ccdc_sbl_wait_idle(struct isp_ccdc_device *ccdc, ...@@ -1413,14 +1413,14 @@ static int ccdc_sbl_wait_idle(struct isp_ccdc_device *ccdc,
return -EBUSY; return -EBUSY;
} }
/* __ccdc_handle_stopping - Handle CCDC and/or LSC stopping sequence /* ccdc_handle_stopping - Handle CCDC and/or LSC stopping sequence
* @ccdc: Pointer to ISP CCDC device. * @ccdc: Pointer to ISP CCDC device.
* @event: Pointing which event trigger handler * @event: Pointing which event trigger handler
* *
* Return 1 when the event and stopping request combination is satisfied, * Return 1 when the event and stopping request combination is satisfied,
* zero otherwise. * zero otherwise.
*/ */
static int __ccdc_handle_stopping(struct isp_ccdc_device *ccdc, u32 event) static int ccdc_handle_stopping(struct isp_ccdc_device *ccdc, u32 event)
{ {
int rval = 0; int rval = 0;
...@@ -1502,7 +1502,7 @@ static void ccdc_lsc_isr(struct isp_ccdc_device *ccdc, u32 events) ...@@ -1502,7 +1502,7 @@ static void ccdc_lsc_isr(struct isp_ccdc_device *ccdc, u32 events)
if (ccdc->lsc.state == LSC_STATE_STOPPING) if (ccdc->lsc.state == LSC_STATE_STOPPING)
ccdc->lsc.state = LSC_STATE_STOPPED; ccdc->lsc.state = LSC_STATE_STOPPED;
if (__ccdc_handle_stopping(ccdc, CCDC_EVENT_LSC_DONE)) if (ccdc_handle_stopping(ccdc, CCDC_EVENT_LSC_DONE))
goto done; goto done;
if (ccdc->lsc.state != LSC_STATE_RECONFIG) if (ccdc->lsc.state != LSC_STATE_RECONFIG)
...@@ -1642,7 +1642,7 @@ static void ccdc_vd0_isr(struct isp_ccdc_device *ccdc) ...@@ -1642,7 +1642,7 @@ static void ccdc_vd0_isr(struct isp_ccdc_device *ccdc)
restart = ccdc_isr_buffer(ccdc); restart = ccdc_isr_buffer(ccdc);
spin_lock_irqsave(&ccdc->lock, flags); spin_lock_irqsave(&ccdc->lock, flags);
if (__ccdc_handle_stopping(ccdc, CCDC_EVENT_VD0)) { if (ccdc_handle_stopping(ccdc, CCDC_EVENT_VD0)) {
spin_unlock_irqrestore(&ccdc->lock, flags); spin_unlock_irqrestore(&ccdc->lock, flags);
return; return;
} }
...@@ -1702,7 +1702,7 @@ static void ccdc_vd1_isr(struct isp_ccdc_device *ccdc) ...@@ -1702,7 +1702,7 @@ static void ccdc_vd1_isr(struct isp_ccdc_device *ccdc)
break; break;
} }
if (__ccdc_handle_stopping(ccdc, CCDC_EVENT_VD1)) if (ccdc_handle_stopping(ccdc, CCDC_EVENT_VD1))
goto done; goto done;
if (ccdc->lsc.request == NULL) if (ccdc->lsc.request == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment