2017-07-09 21:35:08

by ArminSchoenlieb

[permalink] [raw]
Subject: [PATCH]

>From 043428d63637a6dd8e52449b73dbb8341885d7e4 Mon Sep 17 00:00:00 2001
From: Armin Schoenlieb <[email protected]>
Date: Mon, 10 Jul 2017 01:12:52 +0200
Subject: [PATCH] Staging: media: atomisp2: fixed trailing whitespace error in
atomisp_v4l2.c This is a patch to the atomisp_v4l2.c file that fixes up a
trailing whitespace error found by the checkpatch.pl tool

Signed-off-by: Armin Schoenlieb <[email protected]>
---
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
index a543def739fc..05d02ebb6d25 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
@@ -1277,13 +1277,13 @@ static int atomisp_pci_probe(struct pci_dev *dev,
(ATOMISP_HW_REVISION_ISP2400
<< ATOMISP_HW_REVISION_SHIFT) |
ATOMISP_HW_STEPPING_B0;
-#ifdef FIXME
+#ifdef FIXME
if (INTEL_MID_BOARD(3, TABLET, BYT, BLK, PRO, CRV2) ||
INTEL_MID_BOARD(3, TABLET, BYT, BLK, ENG, CRV2)) {
isp->dfs = &dfs_config_byt_cr;
isp->hpll_freq = HPLL_FREQ_2000MHZ;
} else
-#endif
+#endif
{
isp->dfs = &dfs_config_byt;
isp->hpll_freq = HPLL_FREQ_1600MHZ;
--
2.11.0



2017-07-20 15:06:34

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: [PATCH]

Em Mon, 10 Jul 2017 01:35:11 +0200
armetallica <[email protected]> escreveu:

> From 043428d63637a6dd8e52449b73dbb8341885d7e4 Mon Sep 17 00:00:00 2001
> From: Armin Schoenlieb <[email protected]>
> Date: Mon, 10 Jul 2017 01:12:52 +0200
> Subject: [PATCH] Staging: media: atomisp2: fixed trailing whitespace error in
> atomisp_v4l2.c This is a patch to the atomisp_v4l2.c file that fixes up a
> trailing whitespace error found by the checkpatch.pl tool

Something clearly gets wrong here...

Regards,
Mauro

>
> Signed-off-by: Armin Schoenlieb <[email protected]>
> ---
> drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
> index a543def739fc..05d02ebb6d25 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
> @@ -1277,13 +1277,13 @@ static int atomisp_pci_probe(struct pci_dev *dev,
> (ATOMISP_HW_REVISION_ISP2400
> << ATOMISP_HW_REVISION_SHIFT) |
> ATOMISP_HW_STEPPING_B0;
> -#ifdef FIXME
> +#ifdef FIXME
> if (INTEL_MID_BOARD(3, TABLET, BYT, BLK, PRO, CRV2) ||
> INTEL_MID_BOARD(3, TABLET, BYT, BLK, ENG, CRV2)) {
> isp->dfs = &dfs_config_byt_cr;
> isp->hpll_freq = HPLL_FREQ_2000MHZ;
> } else
> -#endif
> +#endif
> {
> isp->dfs = &dfs_config_byt;
> isp->hpll_freq = HPLL_FREQ_1600MHZ;



Thanks,
Mauro