Open GoogleCodeExporter opened 8 years ago
I'd encounter similar issue with kernel 3.16.3
kzalloc can be resolve by adding #include <linux/slab.h> at smi2021_main.c
while the s_std could be a v4l2 api changes?
Original comment by philip.b...@gmail.com
on 25 Sep 2014 at 6:03
manage to get it working with some patches smi2021_main.c, smi2021_v4l2.c
#1
change all:
v4l2_device_call_all(&smi2021->v4l2_dev, 0, core, s_std,
to:
v4l2_device_call_all(&smi2021->v4l2_dev, 0, video, s_std,
#2
change:
static int stop_streaming(struct vb2_queue *vq)
to:
static void stop_streaming(struct vb2_queue *vq)
*(and remove all return statements)
#3
change:
smi2021->vb2q.timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
to:
smi2021->vb2q.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
my kernel version is 3.16.3
Original comment by philip.b...@gmail.com
on 26 Sep 2014 at 2:09
update: kernel 3.16.6 patch smi2021_audio.c
change:
rc = snd_card_create(SNDRV_DEFAULT_IDX1, "smi2021 Audio", THIS_MODULE,
0, &card);
to:
rc = snd_card_new(smi2021->dev, SNDRV_DEFAULT_IDX1, "smi2021 Audio", THIS_MODULE,
0, &card);
Original comment by philip.b...@gmail.com
on 30 Oct 2014 at 6:13
Hi
When building with the 3.18.1 kernel (on openSUSE), there is also one more
change in smi2021_v4l2.c
- set_bit(V4L2_FL_USE_FH_PRIO, &smi2021->vdev.flags);
+ set_bit(V4L2_FL_USES_V4L2_FH, &smi2021->vdev.flags);
Attached, please find the full patch I used for openSUSE 13.2 and openSUSE
Tumbleweed.
Original comment by coyoteu...@gmail.com
on 9 Jan 2015 at 4:44
Attachments:
Original issue reported on code.google.com by
neuron...@gmail.com
on 14 Jun 2014 at 10:44