1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Linux driver for Philips webcam
3    Decompression for chipset version 1
4    (C) 2004-2006 Luc Saillard (luc@saillard.org)
5 
6    NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
7    driver and thus may have bugs that are not present in the original version.
8    Please send bug reports and support requests to <luc@saillard.org>.
9    The decompression routines have been implemented by reverse-engineering the
10    Nemosoft binary pwcx module. Caveat emptor.
11 
12 */
13 #include "pwc.h"
14 
pwc_dec1_init(struct pwc_device * pdev,const unsigned char * cmd)15 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
16 {
17 	struct pwc_dec1_private *pdec = &pdev->dec1;
18 
19 	pdec->version = pdev->release;
20 }
21