From: Jean-François Moine Date: Fri, 23 Sep 2011 07:20:29 +0000 (-0300) Subject: [media] gspca - spca1528: Change the JPEG quality of the images X-Git-Tag: MMI-PSA29.97-13-9~18177^2~78 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e12950d86d695bdaf762476446a60ed5073eedc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] gspca - spca1528: Change the JPEG quality of the images The JPEG quality was guessed as around 82%. Information in ms-win drivers says it should be 85%. Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/spca1528.c b/drivers/media/video/gspca/spca1528.c index f7c70a2c0778..b7e8d408c989 100644 --- a/drivers/media/video/gspca/spca1528.c +++ b/drivers/media/video/gspca/spca1528.c @@ -365,8 +365,8 @@ static int sd_start(struct gspca_dev *gspca_dev) jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 0x22); /* JPEG 411 */ - /* the JPEG quality seems to be 82% */ - jpeg_set_qual(sd->jpeg_hdr, 82); + /* the JPEG quality shall be 85% */ + jpeg_set_qual(sd->jpeg_hdr, 85); /* set the controls */ setbrightness(gspca_dev);