staging: media: atomisp: Fix block comments warning.
Used kernel preferred block commenting style, to fix the following checkpatch issue: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
80833c18a7
commit
e17a17a030
@ -538,7 +538,8 @@ static long gc0310_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
}
|
||||
|
||||
/* This returns the exposure time being used. This should only be used
|
||||
for filling in EXIF data, not for actual image processing. */
|
||||
* for filling in EXIF data, not for actual image processing.
|
||||
*/
|
||||
static int gc0310_q_exposure(struct v4l2_subdev *sd, s32 *value)
|
||||
{
|
||||
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
||||
|
@ -427,7 +427,8 @@ static long gc2235_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
return 0;
|
||||
}
|
||||
/* This returns the exposure time being used. This should only be used
|
||||
for filling in EXIF data, not for actual image processing. */
|
||||
* for filling in EXIF data, not for actual image processing.
|
||||
*/
|
||||
static int gc2235_q_exposure(struct v4l2_subdev *sd, s32 *value)
|
||||
{
|
||||
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
||||
|
@ -554,7 +554,8 @@ static long ov2680_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
}
|
||||
|
||||
/* This returns the exposure time being used. This should only be used
|
||||
for filling in EXIF data, not for actual image processing. */
|
||||
* for filling in EXIF data, not for actual image processing.
|
||||
*/
|
||||
static int ov2680_q_exposure(struct v4l2_subdev *sd, s32 *value)
|
||||
{
|
||||
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
||||
@ -1135,8 +1136,8 @@ static int ov2680_set_fmt(struct v4l2_subdev *sd,
|
||||
v4l2_info(client, "\n%s idx %d \n", __func__, dev->fmt_idx);
|
||||
|
||||
/*ret = startup(sd);
|
||||
if (ret)
|
||||
dev_err(&client->dev, "ov2680 startup err\n");
|
||||
* if (ret)
|
||||
* dev_err(&client->dev, "ov2680 startup err\n");
|
||||
*/
|
||||
err:
|
||||
mutex_unlock(&dev->input_lock);
|
||||
|
@ -505,7 +505,8 @@ static long ov2722_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
}
|
||||
|
||||
/* This returns the exposure time being used. This should only be used
|
||||
for filling in EXIF data, not for actual image processing. */
|
||||
* for filling in EXIF data, not for actual image processing.
|
||||
*/
|
||||
static int ov2722_q_exposure(struct v4l2_subdev *sd, s32 *value)
|
||||
{
|
||||
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
||||
@ -687,7 +688,8 @@ static int gpio_ctrl(struct v4l2_subdev *sd, bool flag)
|
||||
return dev->platform_data->gpio_ctrl(sd, flag);
|
||||
|
||||
/* Note: the GPIO order is asymmetric: always RESET#
|
||||
* before PWDN# when turning it on or off. */
|
||||
* before PWDN# when turning it on or off.
|
||||
*/
|
||||
ret = dev->platform_data->gpio0_ctrl(sd, flag);
|
||||
/*
|
||||
*ov2722 PWDN# active high when pull down,opposite to the convention
|
||||
|
@ -39,7 +39,7 @@ static const int32_t div_lut_intercepts[BNLM_DIV_LUT_SIZE] = {
|
||||
* lut_thr : array containing threshold values for lut
|
||||
* lut_val : array containing output values related to lut_thr
|
||||
* lut_size: Size of lut_val array
|
||||
* */
|
||||
*/
|
||||
static inline void
|
||||
bnlm_lut_encode(struct bnlm_lut *lut, const int32_t *lut_thr, const int32_t *lut_val, const uint32_t lut_size)
|
||||
{
|
||||
@ -56,7 +56,7 @@ bnlm_lut_encode(struct bnlm_lut *lut, const int32_t *lut_thr, const int32_t *lut
|
||||
* Then these elements are copied into other groups inside the same
|
||||
* vector. If the LUT size is less than 16, then remaining elements are
|
||||
* set to 0.
|
||||
* */
|
||||
*/
|
||||
assert((lut_size >= 2) && (lut_size <= block_size));
|
||||
/* array lut_thr has (lut_size-1) entries */
|
||||
for (i = 0; i < lut_size-2; i++) {
|
||||
@ -90,7 +90,7 @@ bnlm_lut_encode(struct bnlm_lut *lut, const int32_t *lut_thr, const int32_t *lut
|
||||
/*
|
||||
* - Encodes BNLM public parameters into VMEM parameters
|
||||
* - Generates VMEM parameters which will needed internally ISP
|
||||
* */
|
||||
*/
|
||||
void
|
||||
ia_css_bnlm_vmem_encode(
|
||||
struct bnlm_vmem_params *to,
|
||||
|
Loading…
Reference in New Issue
Block a user