On Fri, Sep 07, 2018 at 12:24:38AM +0200, Paul Kocialkowski wrote:
> From: Paul Kocialkowski
>
> This introduces the Cedrus VPU driver that supports the VPU found in
> Allwinner SoCs, also known as Video Engine. It is implemented through
> a V4L2 M2M decoder device and a media device (used for me
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_ili9341.c | 50 +++---
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_st7735r.c | 42 ++
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_ili9163.c | 86 ++
1 file changed, 32 insertions(+), 54 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_hx8357d.c | 38 ++
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_hx8353d.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/staging
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fbtft-core.c | 14 +++
drivers/staging/fbtft/fbtft_device.c | 71
2 files
Hello all!
This patchset converts most of the magic constants and driver-specific
defines to treewide MIPI DCS defines where applicable.
Please note that this patchset is mostly compile-tested, as I do not
have access to most of the hardware.
Priit Laes (13):
staging: fbtft: Use standard MIPI
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_ili9486.c | 35 ++-
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_ili9481.c | 30 +-
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/drivers
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_hx8340bn.c | 25 +++--
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/drivers
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_s6d02a1.c | 42 +-
1 file changed, 23 insertions(+), 19 deletions(-)
diff --git a
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_tinylcd.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers
This patch makes use of the standard MIPI Display Command Set to remove
some of the magic constants found in source code.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_ili9340.c | 26 --
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/drivers
This patch makes use of the standard MIPI Display Command Set to remove
some of duplicate defines from the headers.
Signed-off-by: Priit Laes
---
drivers/staging/fbtft/fb_hx8357d.h | 32
drivers/staging/fbtft/fbtft.h | 8
2 files changed, 40
e
> oobsize = mtd->oobsize;
>
> @@ -2063,7 +2063,7 @@ static int onenand_write_oob_nolock(struct
> mtd_info *mtd, loff_t to,
> ops->oobretlen = 0;
>
> if (mode == MTD_OPS_AUTO_OOB)
> - oobsize = this->ecclayout->oobavail;
> + oobsize = mtd->oobavail;
> else
> oobsize = mtd->oobsize;
This identical construction seems to occur multiple times in multiple
files. Would it make sense to create a macro for it?
Päikest,
Priit Laes :)
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
16 matches
Mail list logo