From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/misc/sprd_jpg/Kconfig | 5 + drivers/misc/sprd_jpg/Makefile | 2 + drivers/misc/sprd_jpg/sprd_jpg.c | 767 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 774 insertions(+) create mode 100644 drivers/misc/sprd_jpg/Kconfig create mode 100644 drivers/misc/sprd_jpg/Makefile create mode 100644 drivers/misc/sprd_jpg/sprd_jpg.c (limited to 'drivers/misc/sprd_jpg') diff --git a/drivers/misc/sprd_jpg/Kconfig b/drivers/misc/sprd_jpg/Kconfig new file mode 100644 index 00000000..89526c03 --- /dev/null +++ b/drivers/misc/sprd_jpg/Kconfig @@ -0,0 +1,5 @@ +# to add sprd jpg configs in the future +config SPRD_JPG + tristate "SPRD jpg driver" + depends on ARCH_SCX35 + default y diff --git a/drivers/misc/sprd_jpg/Makefile b/drivers/misc/sprd_jpg/Makefile new file mode 100644 index 00000000..d07baa62 --- /dev/null +++ b/drivers/misc/sprd_jpg/Makefile @@ -0,0 +1,2 @@ + +obj-$(CONFIG_SPRD_JPG) += sprd_jpg.o diff --git a/drivers/misc/sprd_jpg/sprd_jpg.c b/drivers/misc/sprd_jpg/sprd_jpg.c new file mode 100644 index 00000000..827eb2e9 --- /dev/null +++ b/drivers/misc/sprd_jpg/sprd_jpg.c @@ -0,0 +1,767 @@ +/* + * Copyright (C) 2012 Spreadtrum Communications Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include