14 Commits

Author SHA1 Message Date
Patrik Jakobsson
f85a6041af Apply SPDX license identifiers and provice a LICENSE file
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2021-08-11 10:55:24 +02:00
Numan Siddique
f62b01d625 Fix compilation error with 4.19+ kernels
make[1]: Entering directory '/usr/src/kernels/4.19.9-300.fc29.x86_64'
  CC [M]  bcwc_pcie/fthd_ddr.o
In file included from bcwc_pcie/fthd_ddr.c:21:
bcwc_pcie/fthd_drv.h:121:5: warning: "LINUX_VERSION_CODE" is not defined, evaluates to 0 [-Wundef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
     ^~~~~~~~~~~~~~~~~~
bcwc_pcie/fthd_drv.h:121:26: warning: "KERNEL_VERSION" is not defined, evaluates to 0 [-Wundef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
                          ^~~~~~~~~~~~~~
bcwc_pcie/fthd_drv.h:121:40: error: missing binary operator before token "("
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
...

Fixes the above compilation error

Signed-off-by: Numan Siddique <numan.siddique@gmail.com>
2018-12-30 15:47:47 +05:30
Azat Khuzhin
40e8e711ad vb2: replace void *alloc_ctxs by struct device *alloc_devs
Upstream: torvalds/linux@36c0f8b32c ("[media] vb2:
replace void *alloc_ctxs by struct device *alloc_devs")
2016-10-10 21:28:52 +03:00
Patrik Jakobsson
766030b5ea facetimehd: Fix include guards in fthd_drv.h
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-01-03 15:39:37 +01:00
Sven Schnelle
abdb6cd603 facetimehd: add missing struct dentry for debugfs to struct fthd_privatew 2015-12-01 21:15:05 +01:00
Sven Schnelle
d1ec497e02 Merge remote-tracking branch 'patjak/master' into my_fixes 2015-11-28 23:11:00 +01:00
Sven Schnelle
ca8c5584e0 facetimehd: add channel waitqueue
add a per channel waitqueue to be able to have more than one ringbuffer
entry in flight.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2015-11-28 22:59:44 +01:00
Patrik Jakobsson
8e83f8fbcd Merge branch 'my_fixes' of git://github.com/sschnelle/facetimehd 2015-11-28 21:16:40 +01:00
Patrik Jakobsson
311137ba01 facetimehd: Prep the DDR PHY save/restore functions 2015-11-28 20:53:42 +01:00
Sven Schnelle
2e7af64e81 facetimehd: add controls for brightness, contrast, saturation and hue 2015-11-28 16:17:11 +01:00
Sven Schnelle
ad486d4522 facetimehd: remove cmd_ready variable
instead evaluate the ringbuffer status. This allows to have more than one isp
command in flight.
2015-11-28 16:10:34 +01:00
Patrik Jakobsson
4ffc88f155 facetimehd: Use the max macro from linux/kernel.h 2015-11-28 13:33:47 +01:00
Sven Schnelle
9dd6bc2a02 facetimehd: don't access __iomem directly 2015-11-28 07:29:47 +01:00
Sven Schnelle
f3067f211a rename driver to facetimehd 2015-11-27 20:32:06 +01:00