- 05 5月, 2018 40 次提交
-
-
由 Brad Love 提交于
0day build bot reported an unnoticed recursive dependency, fix it by removing the select statement. fixes: c66d4d99a8fb ("cx231xx: Add I2C_MUX dependency") Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Hans de Goede 提交于
The recent "x86 ZONE_DMA love" discussion at LSF/MM pointed out that some gspca sub-drivvers are using GFP_DMA to allocate buffers which are used for USB bulk transfers, there is absolutely no need for this, drop it. Cc: "Luis R. Rodriguez" <mcgrof@kernel.org> Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
This driver depends on sony-laptop driver, but this is available only for x86. So, add a stub function, in order to allow building it on non-x86 too. Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Yasunari Takiguchi 提交于
This is the version update for this cxd2880 driver changing. Signed-off-by: NYasunari Takiguchi <Yasunari.Takiguchi@sony.com> Signed-off-by: NMasayuki Yamamoto <Masayuki.Yamamoto@sony.com> Signed-off-by: NHideki Nozawa <Hideki.Nozawa@sony.com> Signed-off-by: NKota Yonezawa <Kota.Yonezawa@sony.com> Signed-off-by: NToshihiko Matsumoto <Toshihiko.Matsumoto@sony.com> Signed-off-by: NSatoshi Watanabe <Satoshi.C.Watanabe@sony.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Yasunari Takiguchi 提交于
This is the optimization for SPI drive current and signal lock condition check part for BER/PER measure to ensure BER/PER are stable Signed-off-by: NYasunari Takiguchi <Yasunari.Takiguchi@sony.com> Signed-off-by: NMasayuki Yamamoto <Masayuki.Yamamoto@sony.com> Signed-off-by: NHideki Nozawa <Hideki.Nozawa@sony.com> Signed-off-by: NKota Yonezawa <Kota.Yonezawa@sony.com> Signed-off-by: NToshihiko Matsumoto <Toshihiko.Matsumoto@sony.com> Signed-off-by: NSatoshi Watanabe <Satoshi.C.Watanabe@sony.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Yasunari Takiguchi 提交于
This is the modification of structure declaration for spi_transfer. Signed-off-by: NYasunari Takiguchi <Yasunari.Takiguchi@sony.com> Signed-off-by: NMasayuki Yamamoto <Masayuki.Yamamoto@sony.com> Signed-off-by: NHideki Nozawa <Hideki.Nozawa@sony.com> Signed-off-by: NKota Yonezawa <Kota.Yonezawa@sony.com> Signed-off-by: NToshihiko Matsumoto <Toshihiko.Matsumoto@sony.com> Signed-off-by: NSatoshi Watanabe <Satoshi.C.Watanabe@sony.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
As newer boards got added, update the cardlists. Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Marcel Stork 提交于
Extra code to be able to use this stick, only digital, not analog nor remote-control. Signed-off-by: NMarcel Stork <mjstork@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Marcel Stork 提交于
A cosmetic change by combining two sets of boards into one set because having the same arguments. Signed-off-by: NMarcel Stork <mjstork@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Niklas Söderlund 提交于
The VIN Gen3 hardware don't have Line Post-Clip capabilities as VIN Gen2 hardware have. To protect against writing outside the capture window enable field toggle after a set number of lines have been captured. Capturing outside the allocated capture buffer where observed on R-Car Gen3 Salvator-XS H3 from the CVBS input if the standard is misconfigured. That is if a PAL source is connected to the system but the adv748x standard is set to NTSC. In this case the format reported by the adv748x is 720x480 and that is what is used for the media pipeline. The PAL source generates frames in the format of 720x576 and the field is not toggled until the VSYNC is detected and at that time data have already been written outside the allocated capture buffer. With this change the capture in the situation described above results in garbage frames but that is far better then writing outside the capture buffer. Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Niklas Söderlund 提交于
By setting VNMC_YCAL rcar-vin can support input video in MEDIA_BUS_FMT_UYVY8_1X16 format. Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Niklas Söderlund 提交于
Store the group pointer before disassociating the VIN from the group. Fixes: 3bb4c3bc ("media: rcar-vin: add group allocator functions") Reported-by: NColin Ian King <colin.king@canonical.com> Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: NSimon Horman <horms+renesas@verge.net.au> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Niklas Söderlund 提交于
The compatible string "renesas,rcar-gen3-vin" was added before the Gen3 driver code was added but it's not possible to use. Each SoC in the Gen3 series require SoC specific knowledge in the driver to function. Remove it before it is added to any device tree descriptions. Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: NSimon Horman <horms+renesas@verge.net.au> Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Devin Heitmueller 提交于
This was left over from the conversion to VB2, where the call was getting invoked both in buffer_queue and start_streaming, which was intermittently causing invalid opcodes on the VBI RISC queue. This change effectively mirrors the exact same change Hans Verkuil made in cx88-video.c in commit 389208e1 ("[media] cx88: remove leftover start_video_dma() call"). Thanks to Daniel Glöckner for spotting the actual bug after I spent several days trying to chase down the issue. Fixes: 389208e1 ("[media] cx88: remove leftover start_video_dma() call") Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Thanks-to: Daniel Glöckner <daniel-gl@gmx.net> Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Luc Van Oostenryck 提交于
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: NLuc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Luc Van Oostenryck 提交于
The method dvb_frontend_ops::search() is defined as returning an 'enum dvbfe_search', but the implementation in this driver returns an 'int'. Fix this by returning 'enum dvbfe_search' in this driver too. Signed-off-by: NLuc Van Oostenryck <luc.vanoostenryck@gmail.com> Acked-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Luc Van Oostenryck 提交于
The method dvb_frontend_ops::get_frontend_algo() is defined as returning an 'enum dvbfe_algo', but the implementation in this driver returns an 'int'. Fix this by returning 'enum dvbfe_algo' on drivers. [mchehab+samsung@kernel.org: merge similar patches and patch ddbridge-mci.c the same way] Signed-off-by: NLuc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Anders Roxell 提交于
Commit 7378f114 ("media: omap2: omapfb: allow building it with COMPILE_TEST") broke compilation without CONFIG_I2C selected. drivers/media/platform/fsl-viu.c: In function ‘viu_of_probe’: drivers/media/platform/fsl-viu.c:1452:7: error: implicit declaration of function ‘i2c_get_adapter’; did you mean ‘i2c_lock_adapter’? [-Werror=implicit-function-declaration] ad = i2c_get_adapter(0); ^~~~~~~~~~~~~~~ i2c_lock_adapter drivers/media/platform/fsl-viu.c:1452:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ad = i2c_get_adapter(0); ^ drivers/media/platform/fsl-viu.c:1534:2: error: implicit declaration of function ‘i2c_put_adapter’; did you mean ‘i2c_lock_adapter’? [-Werror=implicit-function-declaration] i2c_put_adapter(ad); ^~~~~~~~~~~~~~~ i2c_lock_adapter Added I2C dependency in order to make all configurations work again. Signed-off-by: NAnders Roxell <anders.roxell@linaro.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Daniel Scheller 提交于
s/shifs/shifts/ Signed-off-by: NDaniel Scheller <d.scheller@gmx.net> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Daniel Scheller 提交于
Commit ee93340e ("media: ngene: deduplicate I2C adapter evaluation") added a helper to evaluate the I2C adapter to be used for demod/tuner attachment based on the given ngene_channel, and that helper is used in many attach functions to initialise the i2c_adapter variable. However, for some reason in tuner_attach_stv6110() and demod_attach_stv0900(), the adapter evaluation wasn't removed as in all other functions. Fix (or finalize, even) the helper use by cleaning up the superfluous I2C adapter evaluation leftover in these two functions. Signed-off-by: NDaniel Scheller <d.scheller@gmx.net> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
As pointed by ktest: >> drivers/media//pci/pt1/pt1.c:1433:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef] #if CONFIG_PM_SLEEP ^~~~~~~~~~~~~~~ Reported-by: Nkbuild test robot <lkp@intel.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Colin Ian King 提交于
The value from a readl is being masked with ITE_REG_CIOCAN_MASK however this is not being used and cfg is being re-assigned. I believe the assignment operator should actually be instead the |= operator. Detected by CoverityScan, CID#1467987 ("Unused value") Signed-off-by: NColin Ian King <colin.king@canonical.com> Acked-by: NSylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
drivers/media/usb/cx231xx/cx231xx-dvb.c: In function 'unregister_dvb': drivers/media/usb/cx231xx/cx231xx-dvb.c:607:21: warning: unused variable 'client' [-Wunused-variable] struct i2c_client *client; ^~~~~~ Fixes: a12481354656 ("media: cx231xx: Switch to using new dvb i2c helpers") Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
cx231xx requires i2c mux adapter capability. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
VIDEO_CX231XX_RC requires RC_CORE, but VIDEO_CX231XX does not require RC to compile or function. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
The default is now 0, no need to override Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Trim out some unused config params. Use the i2c mux adapter returned by frontend with the tuner. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Mostly very straight forward replace of blocks with equivalent code. Cleanup added at end of dvb_init in case of failure. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Hauppauge 935C cannot communicate with the si2157 when using the mux adapter returned by the si2168, so disable it to fix the device. Signed-off-by: NBrad Love <brad@nextdimension.cc> Cc: stable@vger.kernel.org Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Replace zero fill memset inits with equivalent {} in declaration Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Replace all usage of hard coded values with the proper field from the board profile. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Brad Love 提交于
Now the board values match the hard coded constants used in the dvb initialization. Signed-off-by: NBrad Love <brad@nextdimension.cc> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Jia-Ju Bai 提交于
Despite never getting called from atomic context, usb URB memory allocations use GFP_ATOMIC, which does not sleep for allocation. GFP_ATOMIC is not necessary and can be replaced with GFP_KERNEL, which can sleep and improve the possibility of sucessful allocation. This is found by a static analysis tool named DCNS written by myself. And I also manually check it. [mchehab+samsung@kernel.org: merged 3 similar patches into one] Signed-off-by: NJia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
As warned by smatch: drivers/media/pci/pt1/pt1.c:213 config_demod() error: strncmp() '"tc90522sat"' too small (11 vs 20) Use the same strncmp() syntax as pt1_init_frontends() does. Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
As described in Document/timers/timers-howto.txt, hrtimer-based delay should be used for small sleeps. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
Without this patch, re-loading of the module was required after resume. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
earth-pt1 was a monolithic module and included demod/tuner drivers. This patch removes those FE parts and attach demod/tuner i2c drivers. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
The tuner is used in Earthsoft PT1/PT2 DVB boards, and the driver was extraced from (the former) va1j5jf8007s.c of PT1. it might contain PT1 specific configs. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
This patch adds a PLL "description" of Philips TDA6651 for ISDB-T. It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1, thus the desc might include PT1 specific configs. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-
由 Akihiro Tsukada 提交于
i2c message buf might be on stack. Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
-