staging: soc_camera.c: Fixed a Missing blank line coding style issue
Subsystems (2)
PATCH 1/1 staging: soc_camera.c: Fixed a Missing blank line coding style issue
Fixes a coding style issue of 'Missing a blank line after declarations' reported by checkpatch.pl
Signed-off-by Suman Kumar <[email protected]>
--- drivers/media/platform/soc_camera/soc_camera.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/media/platform/soc_camera/soc_camera.c +8 -0
@@ -830,6 +830,7 @@ void soc_camera_lock(struct vb2_queue *vq) {struct soc_camera_device *icd =vb2_get_drv_priv (vq);struct soc_camera_host *ici =to_soc_camera_host (icd->parent); +mutex_lock (&ici->host_lock); }EXPORT_SYMBOL (soc_camera_lock);
@@ -838,6 +839,7 @@ void soc_camera_unlock(struct vb2_queue *vq) {struct soc_camera_device *icd =vb2_get_drv_priv (vq);struct soc_camera_host *ici =to_soc_camera_host (icd->parent); +mutex_unlock (&ici->host_lock); }EXPORT_SYMBOL (soc_camera_unlock);
@@ -1703,6 +1705,7 @@ static int soc_camera_remove(struct soc_camera_device *icd) }else {struct device *dev =to_soc_camera_control (icd);struct device_driver *drv = dev ? dev->driver :NULL ; +if (drv) { sdesc->host_desc.del_device (icd);module_put (drv->owner);
@@ -1728,18 +1731,21 @@ static int default_cropcap(struct soc_camera_device *icd, struct v4l2_cropcap *a) {struct v4l2_subdev *sd =soc_camera_to_subdev (icd); +return v4l2_subdev_call (sd, video, cropcap, a); }static int default_g_crop (struct soc_camera_device *icd,struct v4l2_crop *a) {struct v4l2_subdev *sd =soc_camera_to_subdev (icd); +return v4l2_subdev_call (sd, video, g_crop, a); }static int default_s_crop (struct soc_camera_device *icd,const struct v4l2_crop *a) {struct v4l2_subdev *sd =soc_camera_to_subdev (icd); +return v4l2_subdev_call (sd, video, s_crop, a); }
@@ -1747,6 +1753,7 @@ static int default_g_parm(struct soc_camera_device *icd, struct v4l2_streamparm *parm) {struct v4l2_subdev *sd =soc_camera_to_subdev (icd); +return v4l2_subdev_call (sd, video, g_parm, parm); }
@@ -1754,6 +1761,7 @@ static int default_s_parm(struct soc_camera_device *icd, struct v4l2_streamparm *parm) {struct v4l2_subdev *sd =soc_camera_to_subdev (icd); +return v4l2_subdev_call (sd, video, s_parm, parm); }
Signature · 1 line
1.8.2