[PATCH] staging: rtl8188eu: Removed a function and coded inline

2018-08-18 Thread Bhaskar Singh
This patch removed function named rtw_malloc2d. I removed this function because this function is used exactly once and function call have some overhead also. Maybe this will improve code runtime slightly. Signed-off-by: Bhaskar Singh --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 10

United Nations: SEEKING INTERNATIONAL AID FOR KERALA FLOODS FROM UNITED NATIONS

2018-08-18 Thread haroldgmz11
Hey, I just signed the petition "United Nations: SEEKING INTERNATIONAL AID FOR KERALA FLOODS FROM UNITED NATIONS" and wanted to see if you could help by adding your name. Our goal is to reach 141,538 signatures and we need more support. You can read more and sign the petition here:

Re: [GIT PULL] Staging/IIO driver patches for 4.19-rc1

2018-08-18 Thread Linus Torvalds
On Sat, Aug 18, 2018 at 8:57 AM Greg KH wrote: > > Note, you will have a merge problem with a device tree IIO file and the > MAINTAINERS file, both resolutions are easy, just take all changed. Heh, no. In neither case should I take all changes: the IIO was "delete both sides"), and in the

[GIT PULL] Staging/IIO driver patches for 4.19-rc1

2018-08-18 Thread Greg KH
The following changes since commit acb1872577b346bd15ab3a3f8dff780d6cca4b70: Linux 4.18-rc7 (2018-07-29 14:44:52 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-4.19-rc1 for you to fetch changes up to

Re: [PATCH 08/14] staging: media: tegra-vde: Track struct device *

2018-08-18 Thread Dmitry Osipenko
On 13.08.2018 17:50, Thierry Reding wrote: > From: Thierry Reding > > The pointer to the struct device is frequently used, so store it in > struct tegra_vde. Also, pass around a pointer to a struct tegra_vde > instead of struct device in some cases to prepare for subsequent > patches referencing

Re: [PATCH] staging: rtl8188eu: Type cast function argument

2018-08-18 Thread Joe Perches
On Sat, 2018-08-18 at 20:28 +0530, Bhaskar Singh wrote: > On Sat, Aug 18, 2018 at 10:33:31PM +0800, zhong jiang wrote: > > On 2018/8/18 22:24, Bhaskar Singh wrote: > > > This patch might suppress some warrning. > > > > > > The function prototype of rtw_malloc2d is > > > > > > void

Re: [PATCH] staging/rtl8723bs: fixed a style problem by removing else after return

2018-08-18 Thread Greg KH
On Sat, Aug 18, 2018 at 11:00:25AM -0400, Carmeli Tamir wrote: > Signed-off-by: Carmeli Tamir > --- > drivers/staging/rtl8723bs/hal/odm_CfoTracking.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a

[PATCH] staging/rtl8723bs: fixed a style problem by removing else after return

2018-08-18 Thread Carmeli Tamir
Signed-off-by: Carmeli Tamir --- drivers/staging/rtl8723bs/hal/odm_CfoTracking.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c b/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c index a733046..6912276 100644 ---

Re: [PATCH] staging: rtl8188eu: Type cast function argument

2018-08-18 Thread Bhaskar Singh
On Sat, Aug 18, 2018 at 10:33:31PM +0800, zhong jiang wrote: > On 2018/8/18 22:24, Bhaskar Singh wrote: > > This patch might suppress some warrning. > > > > The function prototype of rtw_malloc2d is > > > > void *rtw_malloc2d(int h, int w, int size) > > > > This patch also resolves the

Re: [PATCH] staging: rtl8188eu: Type cast function argument

2018-08-18 Thread zhong jiang
On 2018/8/18 22:24, Bhaskar Singh wrote: > This patch might suppress some warrning. > > The function prototype of rtw_malloc2d is > > void *rtw_malloc2d(int h, int w, int size) > > This patch also resolves the checkpatch.pl warning > > WARNING: line over 80 characters > > Signed-off-by: Bhaskar

[PATCH] staging: rtl8188eu: Type cast function argument

2018-08-18 Thread Bhaskar Singh
This patch might suppress some warrning. The function prototype of rtw_malloc2d is void *rtw_malloc2d(int h, int w, int size) This patch also resolves the checkpatch.pl warning WARNING: line over 80 characters Signed-off-by: Bhaskar Singh --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 3

Re: [PATCH 09/14] staging: media: tegra-vde: Add IOMMU support

2018-08-18 Thread Dmitry Osipenko
On 13.08.2018 17:50, Thierry Reding wrote: > From: Thierry Reding > > Implement support for using an IOMMU to map physically discontiguous > buffers into contiguous I/O virtual mappings that the VDE can use. This > allows importing arbitrary DMA-BUFs for use by the VDE. > > While at it, make

Re: [PATCH 09/14] staging: media: tegra-vde: Add IOMMU support

2018-08-18 Thread Dmitry Osipenko
On 13.08.2018 17:50, Thierry Reding wrote: > From: Thierry Reding > > Implement support for using an IOMMU to map physically discontiguous > buffers into contiguous I/O virtual mappings that the VDE can use. This > allows importing arbitrary DMA-BUFs for use by the VDE. > > While at it, make

Re: [PATCH 04/14] staging: media: tegra-vde: Use DRM/KMS framebuffer modifiers

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:17 MSK Thierry Reding wrote: > From: Thierry Reding > > VDE on Tegra20 through Tegra114 supports reading and writing frames in > 16x16 tiled layout. Similarily, the various block-linear layouts that > are supported by the GPU on Tegra124 can also be read from and

Re: [PATCH 10/14] staging: media: tegra-vde: Keep VDE in reset when unused

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:23 MSK Thierry Reding wrote: > From: Thierry Reding > > There is no point in keeping the VDE module out of reset when it is not > in use. Reset it on runtime suspend. > > Signed-off-by: Thierry Reding > --- > drivers/staging/media/tegra-vde/tegra-vde.c | 1 + >

Re: [PATCH 09/14] staging: media: tegra-vde: Add IOMMU support

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:22 MSK Thierry Reding wrote: > From: Thierry Reding > > Implement support for using an IOMMU to map physically discontiguous > buffers into contiguous I/O virtual mappings that the VDE can use. This > allows importing arbitrary DMA-BUFs for use by the VDE. > >

Re: [PATCH 07/14] staging: media: tegra-vde: Add some clarifying comments

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:20 MSK Thierry Reding wrote: > From: Thierry Reding > > Add some comments specifying what tables are being set up in VRAM. > > Signed-off-by: Thierry Reding > --- > drivers/staging/media/tegra-vde/tegra-vde.c | 19 +++ > 1 file changed, 19

Re: [PATCH 08/14] staging: media: tegra-vde: Track struct device *

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:21 MSK Thierry Reding wrote: > From: Thierry Reding > > The pointer to the struct device is frequently used, so store it in > struct tegra_vde. Also, pass around a pointer to a struct tegra_vde > instead of struct device in some cases to prepare for subsequent >

Re: [PATCH 02/14] staging: media: tegra-vde: Support reference picture marking

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:15 MSK Thierry Reding wrote: > From: Thierry Reding > > Tegra114 and Tegra124 support reference picture marking, which will > cause BSEV to write picture marking data to SDRAM. Make sure there is > a valid destination address for that data to avoid error messages

Re: [PATCH 03/14] staging: media: tegra-vde: Prepare for interlacing support

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:16 MSK Thierry Reding wrote: > From: Thierry Reding > > The number of frames doubles when decoding interlaced content and the > structures describing the frames double in size. Take that into account > to prepare for interlacing support. > > Signed-off-by:

Re: [PATCH 06/14] staging: media: tegra-vde: Print out invalid FD

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:19 MSK Thierry Reding wrote: > From: Thierry Reding > > Include the invalid file descriptor when reporting an error message to > help diagnosing why importing the buffer failed. > > Signed-off-by: Thierry Reding > --- >

Re: [PATCH 14/14] ARM: tegra: Enable SMMU for VDE on Tegra124

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:27 MSK Thierry Reding wrote: > From: Thierry Reding > > The video decode engine can use the SMMU to use buffers that are not > physically contiguous in memory. This allows better memory usage for > video decoding, since fragmentation may cause contiguous

Re: [PATCH 05/14] staging: media: tegra-vde: Properly mark invalid entries

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:18 MSK Thierry Reding wrote: > From: Thierry Reding > > Entries in the reference picture list are marked as invalid by setting > the frame ID to 0x3f. > > Signed-off-by: Thierry Reding > --- > drivers/staging/media/tegra-vde/tegra-vde.c | 2 +- > 1 file

Re: [PATCH 11/14] ARM: tegra: Enable VDE on Tegra124

2018-08-18 Thread Dmitry Osipenko
On Monday, 13 August 2018 17:50:24 MSK Thierry Reding wrote: > From: Thierry Reding > > Signed-off-by: Thierry Reding > --- > arch/arm/boot/dts/tegra124.dtsi | 40 + > 1 file changed, 40 insertions(+) > > diff --git a/arch/arm/boot/dts/tegra124.dtsi >

Re: [PATCH v2] staging: mt7621-mmc: Fix debug macros in dbg.h

2018-08-18 Thread Greg Kroah-Hartman
On Sat, Aug 18, 2018 at 05:13:17PM +0530, Nishad Kamdar wrote: > Fixed four debug macros by replacing printk with dev_ > without __func__ or __LINE__ or current->comm and current->pid. > Further removed the do {} while(0) loop for single statement > macro. Issues found by checkpatch. > >

[PATCH v2] staging: mt7621-mmc: Fix debug macros in dbg.h

2018-08-18 Thread Nishad Kamdar
Fixed four debug macros by replacing printk with dev_ without __func__ or __LINE__ or current->comm and current->pid. Further removed the do {} while(0) loop for single statement macro. Issues found by checkpatch. Signed-off-by: Nishad Kamdar --- Changes in v2: - Replace printk with dev_. -

Re: [PATCH] staging: mt7621-mmc: Use __func__ instead of __FUNCTION__ in dbg.h

2018-08-18 Thread Nishad Kamdar
On Thu, Aug 16, 2018 at 01:07:41PM -0700, Joe Perches wrote: > On Fri, 2018-08-17 at 01:19 +0530, Nishad Kamdar wrote: > > Use the identifier __func__ instead of gcc specific __FUNCTION__ > > in dbg.h. Limit these lines to 80 characters. Issues found by > > checkpatch. > > It looks like there are

Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-18 Thread Stefan Agner
Hi Boris, On 17.08.2018 18:09, Boris Brezillon wrote: > Let's make the raw NAND API consistent by patching all helpers and > hooks to take a nand_chip object instead of an mtd_info one or > remove the mtd_info object when both are passed. > > Let's tackle all ecc->read_xxx() hooks at once. > >