summaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-dma
Commit message (Collapse)AuthorAgeFilesLines
* staging: mt7621-dma: fix unbalanced bracesLou Knauer2018-12-171-11/+14
| | | | | | | | | | | | | Add braces to conditional statements if the other branch has them in order to be more compliant with the linux kernel coding style. Remaining checkpatch.pl issues include unnecessary line continuations and use of non-conventional types. Signed-off-by: Lou Knauer <lou.knauer@fau.de> Signed-off-by: Philipp Panzer <philipp.panzer@fau.de> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Merge 4.20-rc5 into staging-nextGreg Kroah-Hartman2018-12-031-1/+2
|\ | | | | | | | | | | We need the staging fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'Sergio Paracuellos2018-11-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Function 'mtk_hsdma_start_transfer' uses 'tx_desc' pointer which can be dereferenced before it is initializated. Initializate pointer before avoiding the problem. Fixes: 0853c7a53eb3 ("staging: mt7621-dma: ralink: add rt2880 dma engine") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: mt7621-dma: Add braces around else branchesKimberly Brown2018-11-051-2/+4
|/ | | | | | | | | | | Add braces around else branches in conditional statements that include branches with multiple statements. This style complies with the Linux kernel coding style and improves consistency and readability. Issues found by checkpatch. Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Delete unused defineBhanusree Pola2018-10-101-1/+0
| | | | | | | delete unused '#define GDMA_REG_CTRL1_CONTINOUS BIT(14)' Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Fixing parenthesis alignmentChristian Lütke-Stetzkamp2018-03-232-41/+43
| | | | | | | | Fixes checkpatch check: PARENTHESIS_ALIGNMENT Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Removing unnecessary bracesChristian Lütke-Stetzkamp2018-03-232-5/+4
| | | | | | | | Fixes checkpatch warning: BRACES Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Fix ident by spaceChristian Lütke-Stetzkamp2018-03-231-1/+1
| | | | | | | | Fixes checkpatch error: CODE_IDENT Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Remove assignment in ifChristian Lütke-Stetzkamp2018-03-231-2/+5
| | | | | | | | Fixes checkpatch error: ASSIGN_IN_IF by adding an inner if in the else path, this also avoids calling vchan_find_desc when not needed. Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Fix open brace positionChristian Lütke-Stetzkamp2018-03-231-2/+1
| | | | | | | | Fixes checkpatch error: OPEN_BRACE Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Fix SpacingChristian Lütke-Stetzkamp2018-03-231-1/+1
| | | | | | | | Fixes checkpatch error: SPACING Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: Fix Pointer LocationChristian Lütke-Stetzkamp2018-03-232-2/+2
| | | | | | | | Fixes checkpatch error: POINTER_LOCATION Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-dma: ralink: add rt2880 dma engineJohn Crispin2018-03-195-0/+1716
Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
OpenPOWER on IntegriCloud