aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'github/cm-11.0'Wolfgang Wiedmeyer2015-10-2223-196/+22876
|\ | | | | | | | | | | | | | | | | | | Conflicts: firmware/Makefile firmware/epen/W9001_B713.bin.ihex firmware/epen/W9001_B746.bin.ihex firmware/epen/W9001_B746JD.bin.ihex firmware/epen/W9001_B746L.bin.ihex firmware/epen/W9001_B746S.bin.ihex
| * mali: add r3p1 for devices that need itDorian Snyder2014-08-04180-0/+34683
| | | | | | | | | | | | d710 needs to use old mali drivers due to new ones causing signal to be completely killed Change-Id: I450c356b50e3f3521a63717a1c241e3b818b936f
| * smdk4412: update fimc_capture and sr130pc20 cam driversbrissen2014-02-125-34/+4305
| | | | | | | | | | | | | | -updates are from i605 4.3 kernel source -updates + small hack fixes front cam on kona Change-Id: If8348be6dbef50bb322a60d554d177e046eec429
| * smdk4412: remove some logging I addedsbrissen2013-12-161-6/+0
| | | | | | | | Change-Id: I264ee04c7c6726e68cdd186f22ab45dc8bf5be0f
| * smdk4412: revert jpeg_dev from update 11sbrissen2013-12-131-7/+0
| | | | | | | | | | | | | | | | fixes front cam for some that broke from update 11 merge http://forum.xda-developers.com/showpost.php?p=48429637&postcount=576 Change-Id: I4a654f10e9ccd50a744a710ecd01d2d26f67401d
| * mali: bulk import of r3p2-01rel3 drivers from i9300-update12mcampbellsmith2013-12-10180-34693/+0
| | | | | | | | | | | | Courtesy of a similar commit from OMNI ROM. Requires updated mali blobs Change-Id: I9ee55b653b57b7c390f8e0e8cd4fc068f1c751c3
| * Samsung i9300 Update 11sakindia1232013-12-095-21/+155
| | | | | | | | Change-Id: I7f6dbdd97e3ed66634bf123d43224a79524c04e9
| * Add support for Note 8 (N5100 and N5110)sbrissen2013-11-1111-151/+18449
| | | | | | | | Change-Id: I6c9798682f9f6349b37cb452353bd0c0e6958401
| * Merge "mali: pick the right GPU voltage table for 1400MHz devices, restore ↵Daniel Hillenbrand2013-08-171-6/+7
| |\ | | | | | | | | | thresholds" into cm-10.2
| | * mali: pick the right GPU voltage table for 1400MHz devices, restore thresholdsClément G2013-08-161-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8-level table was always used, resulting in increased voltages for 1400MHz devices. Now, the right table (5-level) can be picked at runtime. Restore the thresholds to stock value for more stable frequencies. Change-Id: I29900535c15557e75c72793b7169771982fce7f9
| * | Increase lowest GPU step for 1400MHz devicesClément G2013-08-161-2/+6
| |/ | | | | | | | | | | | | | | | | Devices using the 1400MHz Exynos 4210 are using 1280*800 screens. This is a much bigger resolution than the Galaxy S2. 100MHz as the lowest GPU step is too low for these devices, resulting in lag. Bump it up to 134MHz. Change-Id: Ifd08cdc2e263695232d034890e54585f122453ff
| * fimc/s3cfb: Remove inlines breaking build on 4.3XpLoDWilD2013-07-262-2/+2
| | | | | | | | | | | | | | If anyone have any idea why it cannot find function body for these two functions... Others are fine. Change-Id: Ifebb2e995a4ef4e779bed2e8f12aa7990ac19b41
* | S5C73M3: Boot from FROM when no firmware is availablePaul Kocialkowski2014-01-141-30/+16
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | S5C73M3: Avoid writing the firmware to the filesystemPaul Kocialkowski2014-01-121-15/+0
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | S5C73M3: System firmware loading correction using static memory arrayPaul Kocialkowski2014-01-121-13/+7
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | Merge "mali: pick the right GPU voltage table for 1400MHz devices, restore ↵cm-10.1.3-RC2cm-10.1.3-RC1Daniel Hillenbrand2013-08-161-6/+7
|\ \ | | | | | | | | | thresholds" into cm-10.1
| * | mali: pick the right GPU voltage table for 1400MHz devices, restoreClément G2013-08-161-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | thresholds 8-level table was always used, resulting in increased voltages for 1400MHz devices. Now, the right table (5-level) can be picked at runtime. Restore the thresholds to stock value for more stable frequencies. Change-Id: I29900535c15557e75c72793b7169771982fce7f9
* | Increase lowest GPU step for 1400MHz devicesClément G2013-08-161-2/+6
|/ | | | | | | | | Devices using the 1400MHz Exynos 4210 are using 1280*800 screens. This is a much bigger resolution than the Galaxy S2. 100MHz as the lowest GPU step is too low for these devices, resulting in lag. Bump it up to 134MHz. Change-Id: Ifd08cdc2e263695232d034890e54585f122453ff
* d710: initial support for the Epic 4G Touch (SPH-D710)Dorian Snyder2013-06-202-42/+76
| | | | Change-Id: Iafbd9fb45253b02d539ac0ba114f57b3bf9eeed4
* mali: change alloc order from 6 to 11 for 4210Daniel Hillenbrand2013-05-301-4/+0
| | | | | | taken from samsung i9100 jb update Change-Id: Ie67ffa8a72101fbe4460cdde1cb5c3435979ca66
* u1: import from CyanogenMod/android_kernel_samsung_smdk4210Daniel Hillenbrand2013-05-2514-237/+3788
| | | | Change-Id: I9629a4060538c9c4c6a43a86a56826cd7123d1b5
* smdk4412: mali: merge with r3p1 driver from note8Justin2013-03-2658-951/+1762
| | | | Change-Id: I75db69081b986ec326fe347f73aa3655648e6b81
* Merge remote-tracking branch 'kernelorg/linux-3.0.y' into 3_0_64Andrew Dodd2013-02-273-6/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/Kconfig arch/arm/include/asm/hwcap.h arch/arm/kernel/smp.c arch/arm/plat-samsung/adc.c drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_drv.h drivers/mmc/core/sd.c drivers/net/tun.c drivers/net/usb/usbnet.c drivers/regulator/max8997.c drivers/usb/core/hub.c drivers/usb/host/xhci.h drivers/usb/serial/qcserial.c fs/jbd2/transaction.c include/linux/migrate.h kernel/sys.c kernel/time/timekeeping.c lib/genalloc.c mm/memory-failure.c mm/memory_hotplug.c mm/mempolicy.c mm/page_alloc.c mm/vmalloc.c mm/vmscan.c mm/vmstat.c scripts/Kbuild.include Change-Id: I91e2d85c07320c7ccfc04cf98a448e89bed6ade6
| * media: au0828: fix case where STREAMOFF being called on stopped stream ↵Devin Heitmueller2012-10-281-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | causes BUG() commit a595c1ce4c9d572cf53513570b9f1a263d7867f2 upstream. We weren't checking whether the resource was in use before calling res_free(), so applications which called STREAMOFF on a v4l2 device that wasn't already streaming would cause a BUG() to be hit (MythTV). Reported-by: Larry Finger <larry.finger@lwfinger.net> Reported-by: Jay Harbeston <jharbestonus@gmail.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
| * USB: spca506: remove __devinit* from the struct usb_device_id tableGreg Kroah-Hartman2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e694d518886c7afedcdd1732477832b2e32744e4 upstream. This structure needs to always stick around, even if CONFIG_HOTPLUG is disabled, otherwise we can oops when trying to probe a device that was added after the structure is thrown away. Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Bjørn Mork <bjorn@mork.no> CC: Hans de Goede <hdegoede@redhat.com> CC: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * media: uvcvideo: Fix ENUMINPUT handlingLaurent Pinchart2012-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | commit 31c5f0c5e25ed71eeced170f113bb590f2f1f6f3 upstream. Properly validate the user-supplied index against the number of inputs. The code used the pin local variable instead of the index by mistake. Reported-by: Jozef Vesely <vesely@gjh.sk> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | s5c73m3: only use camera fw from system if newer than on datacodeworkx2013-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if firmware versions from system and data are equal, firmware from system is used which results in a crash. <7>[ 71.566024] c0 s5c73m3_load_fw: Writing Firmware... <2>[ 71.566095] c0 kernel BUG at /android/cm-10.1/kernel/samsung/smdk4412/arch /arm/mm/dma-mapping.c:436! <1>[ 71.566145] c0 Unable to handle kernel NULL pointer dereference at virtual address 00000000 use firmware from data as workaround for now. Change-Id: I4df190dee7342bc1db94de285c1ccfa1f05892e8
* | s5c73m3: print s_ctrl and g_ctrl valuescodeworkx2013-02-231-1/+4
| | | | | | | | Change-Id: I6528dbc927af129510df9e5857acb1177f5ed0d7
* | mali: update to r3p1-01rel1codeworkx2013-02-23151-2385/+2113
| | | | | | | | Change-Id: I38a5488af2f2a64e2851826cdbc475ef5727c965
* | t0lte: support for galaxy note 2 ltecodeworkx2013-01-171-0/+5
| | | | | | | | Change-Id: I9ac93ae5b0746c4b8af0a430180b309638935c49
* | Update to the exynos-mem security issue from Samsung I9300 Update7Espen Fjellvær Olsen2013-01-093-2/+231
| | | | | | | | | | | | p2: includes the secmem changes as well as Andreis MFC addition as well Change-Id: I144c2b42586f07b737fba09742315683cbab36ef
* | Remove isx012 ratio check as it crashes the n80xxEspen Fjellvær Olsen2012-09-261-8/+0
| | | | | | | | Change-Id: I3c2629e0bcbc440fcaddd716826b1ed7f74e2c36
* | mali: fix getting subversion revision numbercodeworkx2012-09-232-2/+2
| | | | | | | | | | | | | | how often do i have to fix this? do they ever learn? Change-Id: I16b3ea665d727c37de86c081ebe3a992d64e95dd
* | merge opensource jb u5codeworkx2012-09-22123-17603/+1139
| | | | | | | | Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
* | Merge linux-3.0.31 from korg into jellybeancodeworkx2012-09-185-2/+23
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/mm/proc-v7.S drivers/base/core.c drivers/gpu/drm/i915/i915_gem_execbuffer.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_lvds.c drivers/gpu/drm/radeon/evergreen.c drivers/gpu/drm/radeon/r100.c drivers/gpu/drm/radeon/radeon_connectors.c drivers/gpu/drm/radeon/rs600.c drivers/usb/core/hub.c drivers/usb/host/xhci-pci.c drivers/usb/host/xhci.c drivers/usb/serial/qcserial.c fs/proc/base.c Change-Id: Ia98b35db3f8c0bfd95817867d3acb85be8e5e772
| * pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5Michael Krufky2012-04-021-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 9ab2393fc3e460cd2040de1483918eb17abb822f upstream. The D1F5 revision of the WinTV HVR-1900 uses a tda18271c2 tuner instead of a tda18271c1 tuner as used in revision D1E9. To account for this, we must hardcode the frontend configuration to use the same IF frequency configuration for both revisions of the device. 6MHz DVB-T is unaffected by this issue, as the recommended IF Frequency configuration for 6MHz DVB-T is the same on both c1 and c2 revisions of the tda18271 tuner. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * hdpvr: fix race conditon during start of streamingJanne Grunau2012-02-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | commit afa159538af61f1a65d48927f4e949fe514fb4fc upstream. status has to be set to STREAMING before the streaming worker is queued. hdpvr_transmit_buffers() will exit immediately otherwise. Reported-by: Joerg Desch <vvd.joede@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * uvcvideo: Fix integer overflow in uvc_ioctl_ctrl_map()Haogang Chen2012-01-252-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 806e23e95f94a27ee445022d724060b9b45cb64a upstream. There is a potential integer overflow in uvc_ioctl_ctrl_map(). When a large xmap->menu_count is passed from the userspace, the subsequent call to kmalloc() will allocate a buffer smaller than expected. map->menu_count and map->menu_info would later be used in a loop (e.g. in uvc_query_v4l2_ctrl), which leads to out-of-bound access. The patch checks the ioctl argument and returns -EINVAL for zero or too large values in xmap->menu_count. Signed-off-by: Haogang Chen <haogangchen@gmail.com> [laurent.pinchart@ideasonboard.com Prevent excessive memory consumption] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * V4L/DVB: v4l2-ioctl: integer overflow in video_usercopy()Dan Carpenter2012-01-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6c06108be53ca5e94d8b0e93883d534dd9079646 upstream. If ctrls->count is too high the multiplication could overflow and array_size would be lower than expected. Mauro and Hans Verkuil suggested that we cap it at 1024. That comes from the maximum number of controls with lots of room for expantion. $ grep V4L2_CID include/linux/videodev2.h | wc -l 211 Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * media: s5p-fimc: Use correct fourcc for RGB565 colour formatSylwester Nawrocki2012-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f83f71fda27650ae43558633be93652577dbc38c upstream. With 16-bit RGB565 colour format pixels are stored by the device in memory in the following order: | b3 | b2 | b1 | b0 | ~+-----+-----+-----+-----+ | R5 G6 B5 | R5 G6 B5 | This corresponds to V4L2_PIX_FMT_RGB565 fourcc, not V4L2_PIX_FMT_RGB565X. This change is required to avoid trouble when setting up video pipeline with the s5p-tv devices, so the colour formats at both devices can be properly matched. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | applied patches from i9305 jb sources, updated mali to r3p0codeworkx2012-09-18263-25233/+58492
| | | | | | | | Change-Id: Iec4bc4e2fb59e2cf5b4d25568a644d4e3719565e
* | samsung opensource update4codeworkx2012-08-032-3/+7
| | | | | | | | Change-Id: I9db25f213bb1577c4468873c66b230a0566b6cf2
* | samsung opensource update3Daniel Hillenbrand2012-07-2112-112/+320
| |
* | samsung opensource update 2Daniel Hillenbrand2012-07-212-4/+44
| |
* | Fix video recordingXpLoDWilD2012-06-141-1/+1
| |
* | samsung update 1codeworkx2012-06-02476-1774/+351869
|/
* saa7164: Add support for another HVR2200 hardware revisionTony Jago2011-11-263-0/+68
| | | | | | | | | | | | | | | | | commit 62dd28d0c659db29bdb89cfe9f0aefe42f0adfe9 upstream. Hauppauge have released a new model rev, sub id 8940, this adds support. [stoth@kernellabs.com: I modified Tony's patch slightly in relation to the card numbering in saa7164.h, appending rather than inserting the new card - normal practise] Signed-off-by: Tony Jago <tony@hammertelecom.com.au> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* tuner_xc2028: Allow selection of the frequency adjustment code for XC3028Mauro Carvalho Chehab2011-11-111-1/+1
| | | | | | | | | | | | | commit 9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e upstream. This device is not using the proper demod IF. Instead of using the IF macro, it is specifying a IF frequency. This doesn't work, as xc3028 needs to load an specific SCODE for the tuner. In this case, there's no IF table for 5 MHz. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* uvcvideo: Set alternate setting 0 on resume if the bus has been resetMing Lei2011-11-113-3/+11
| | | | | | | | | | | | | | | | | | | | commit d59a7b1dbce8b972ec2dc9fcaaae0bfa23687423 upstream. If the bus has been reset on resume, set the alternate setting to 0. This should be the default value, but some devices crash or otherwise misbehave if they don't receive a SET_INTERFACE request before any other video control request. Microdia's 0c45:6437 camera has been found to require this change or it will stop sending video data after resume. uvc_video.c] Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* uvcvideo: Fix crash when linking entitiesLaurent Pinchart2011-10-251-1/+1
| | | | | | | | | | | | | | | commit 4d9b2ebd335d83044b9e6656d0e604e8e1300334 upstream. The uvc_mc_register_entity() function wrongfully selects the media_entity associated with a UVC entity when creating links. This results in access to uninitialized media_entity structures and can hit a BUG_ON statement in media_entity_create_link(). Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Josh Boyer <jwboyer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>