2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00

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 <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vatsala Narang 2019-03-30 07:11:51 +05:30 committed by Greg Kroah-Hartman
parent 309614bb45
commit ce957fe2b7

View File

@ -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;