Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3.2.r1.4] msm-jpegdma: Add V4L2_CAP_DEVICE_CAPS to caps #1927

Merged
merged 1 commit into from Mar 11, 2019

Commits on Mar 7, 2019

  1. msm-jpegdma: Add V4L2_CAP_DEVICE_CAPS to caps

    See v4l_querycap() in v4l2-ioctl.c
    Otherwise the query fails with a crash:
    
    [...]
    Bad caps for driver msm_jpegdma, 4200003 0
    ------------[ cut here ]------------
    WARNING: CPU: 1 PID: 23782 at v4l_querycap+0x90/0xd4
    Modules linked in:
    CPU: 1 PID: 23782 Comm: ExtCamHotPlug Tainted: G W 4.9.154-gb61c5e1840de-dirty sonyxperiadev#23
    Hardware name: SoMC Kagura-ROW (DT)
    task  ffffffc037b85e80 task.stack: ffffffc0b7188000
    PC is at v4l_querycap+0x90/0xd4
    LR is at v4l_querycap+0x90/0xd4
    [...]
    
    Signed-off-by: ix5 <ix5@users.noreply.github.com>
    Signed-off-by: Angelo G. Del Regno <kholk11@gmail.com>
    ix5 committed Mar 7, 2019
    Copy the full SHA
    fafc63f View commit details
    Browse the repository at this point in the history