staging: media: zoran: Fix block comment style
Subsystems (2)
PATCH 1/1 staging: media: zoran: Fix block comment style
Add trailing */ on a separate line for block comments to get rid of checkpatch warning.
Signed-off-by Vatsala Narang <[email protected]>
--- drivers/staging/media/zoran/zr36060.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/staging/media/zoran/zr36060.c +8 -4
@@ -40,7 +40,8 @@#include "videocodec.h" /* it doesn't make sense to have more than 20 or so, -just to prevent some unwanted loops */ +* just to prevent some unwanted loops +*/ #define MAX_CODECS 20/* amount of chips attached via this driver */
@@ -725,7 +726,8 @@ zr36060_set_video (struct videocodec *codec,* ratio 1:2. Setting low_bitrate (insmod option) sets * it to 1:4 (instead of 1:2, zr36060 max) as limit because the * buz can't handle more at decimation=1... Use low_bitrate if -* you have a Buz, unless you know what you're doing */ +* you have a Buz, unless you know what you're doing +*/ size = size * cap->quality / (low_bitrate ?400 :200 );/* Lower limit (arbitrary, 1 KB) */ if (size <8192 )
@@ -738,7 +740,8 @@ zr36060_set_video (struct videocodec *codec,/* the MBCVR is the *maximum* block volume, according to the * JPEG ISO specs, this shouldn't be used, since that allows -* for the best encoding quality. So set it to it's max value */ +* for the best encoding quality. So set it to it's max value +*/ reg = ptr->max_block_vol;zr36060_write (ptr,ZR060_MBCVR , reg);
@@ -933,7 +936,8 @@ zr36060_setup (struct videocodec *codec)memcpy (ptr->v_samp_ratio, zr36060_decimation_v,8 ); ptr->bitrate_ctrl =0 ;/* 0 or 1 - fixed file size flag -* (what is the difference?) */ +* (what is the difference?) +*/ ptr->mode =CODEC_DO_COMPRESSION ; ptr->width =384 ; ptr->height =288 ;
Signature · 1 line
2.17.1