ausing an infinite loop.
Fix it by incrementing the index uncoditionally before
find_next_zero_bit() is optionally called.
Reported-by: Marek Szyprowski
Signed-off-by: Janusz Krzysztofik
---
Marek,
Could you please test it on top of next-20180920 with "gpiolib: Fix
missing upda
Hi Marek,
2018-09-24 13:38 GMT+02:00, Marek Szyprowski :
> Hi Janusz,
>
> On 2018-09-24 13:08, Janusz Krzysztofik wrote:
>> 2018-09-24 11:43 GMT+02:00, Marek Szyprowski :
>>> On 2018-09-24 01:53, Janusz Krzysztofik wrote:
>>>> While investigating possible re
Hi Marek,
2018-09-24 11:43 GMT+02:00, Marek Szyprowski :
> Hi Janusz,
>
> On 2018-09-24 01:53, Janusz Krzysztofik wrote:
>> While investigating possible reasons of GPIO fast bitmap processing
>> related boot hang on Samsung Snow Chromebook, reported by Marek
>>
p. Fix it.
Signed-off-by: Janusz Krzysztofik
---
drivers/gpio/gpiolib.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index a53d17745d21..7d9536a79a66 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
same chip which don't follow
the equal numbering rule.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/board.rst | 19 +-
drivers/gpio/gpiolib.c | 35 +++--
2 files changed, 39 insertions(+), 1
ution, hopefully fixed by PATCH 2/2. See
commit messages for details.
Janusz Krzysztofik (2):
gpiolib: Fix missing updates of bitmap index
gpiolib: Fix array members of same chip processed separately
The fixes should resolve the boot hang observed by Marek, however the
second c
On Friday, September 21, 2018 4:14:06 PM CEST Marek Szyprowski wrote:
> Hi Janusz,
>
>
> On 2018-09-21 12:51, Janusz Krzysztofik wrote:
> > 2018-09-21 10:18 GMT+02:00, Marek Szyprowski :
> >> On 2018-09-20 18:21, Janusz Krzysztofik wrote:
> >>> On Thurs
Hi Marek,
2018-09-21 12:51 GMT+02:00, Janusz Krzysztofik :
> Hi Marek,
>
> 2018-09-21 10:18 GMT+02:00, Marek Szyprowski :
>> Hi Janusz,
>>
>> On 2018-09-20 18:21, Janusz Krzysztofik wrote:
>>> On Thursday, September 20, 2018 5:48:22 PM CEST Janusz Krz
Hi Marek,
2018-09-21 10:18 GMT+02:00, Marek Szyprowski :
> Hi Janusz,
>
> On 2018-09-20 18:21, Janusz Krzysztofik wrote:
>> On Thursday, September 20, 2018 5:48:22 PM CEST Janusz Krzysztofik wrote:
>>> On Thursday, September 20, 2018 12:11:48 PM CEST Marek Szyprowski wrot
On Thursday, September 20, 2018 5:48:22 PM CEST Janusz Krzysztofik wrote:
> On Thursday, September 20, 2018 12:11:48 PM CEST Marek Szyprowski wrote:
> > Hi All,
> >
> > On 2018-09-02 14:01, Janusz Krzysztofik wrote:
> > > Certain GPIO descriptor arrays returned b
On Thursday, September 20, 2018 12:11:48 PM CEST Marek Szyprowski wrote:
> Hi All,
>
> On 2018-09-02 14:01, Janusz Krzysztofik wrote:
> > Certain GPIO descriptor arrays returned by gpio_get_array() may contain
> > information on direct mapping of array members to pins of a si
minik Brodowski
Cc: Russell King
Cc: Kishon Vijay Abraham I
Cc: Tony Lindgren
Cc: Lars-Peter Clausen
Cc: Michael Hennerich
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Yegor Yefremov
Cc: Uwe Kleine-König
Signed-off-by: Jan
performance as soon as get/set array functions can accept and
make efficient use of it.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 4 +-
drivers/gpio/gpiolib.c | 72 +-
drivers/gpio/gpiolib.h
me on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/bo
han Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Yegor Yefremov
Cc: Uwe Kleine-König
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
Reviewed-by: Geert Uytterhoeven
Tested-by: Geert Uytterhoeven
---
Documentation/driver-api/gp
Delta board with NAND driver
updated to use GPIO API for data I/O. Performance degrade compared to
PIO is much better than before the optimization though not quite
satisfactory on my test hardware.
Janusz Krzysztofik (4):
gpiolib: Pass bitmaps, not integer arrays, to get/set array
gpiolib
me on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/bo
performance as soon as get/set array functions can accept and
make efficient use of it.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 4 +-
drivers/gpio/gpiolib.c | 72 +-
drivers/gpio/gpiolib.h
minik Brodowski
Cc: Russell King
Cc: Kishon Vijay Abraham I
Cc: Tony Lindgren
Cc: Lars-Peter Clausen
Cc: Michael Hennerich
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Yegor Yefremov
Cc: Uwe Kleine-König
Signed-off-by: Jan
l Hennerich
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Yegor Yefremov
Cc: Uwe Kleine-König
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
---
Documentation/driver-api/gpio/consumer.rst | 22
drivers/auxdi
Delta board with NAND driver
updated to use GPIO API for data I/O. Performance degrade compared to
PIO is much better than before the optimization though not quite
satisfactory on my test hardware.
Janusz Krzysztofik (4):
gpiolib: Pass bitmaps, not integer arrays, to get/set array
gpiolib
Hi Miguel,
On Thursday, August 30, 2018 1:10:59 PM CEST Miguel Ojeda wrote:
> Hi Janusz,
>
> On Wed, Aug 29, 2018 at 10:48 PM, Janusz Krzysztofik
> wrote:
> > ...
> > /* High nibble + RS, RW */
> > - for (i = 4; i < 8; i++)
> > -
performance as soon as get/set array functions can accept and
make efficient use of it.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 4 +-
drivers/gpio/gpiolib.c | 72 +-
drivers/gpio/gpiolib.h
h
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
---
Documentation/driver-api/gpio/consumer.rst | 14 ++--
drivers/auxdisplay/hd44780.c| 12 ++
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
---
Documentation/driver-api/gpio/consumer.rst | 22
drivers/auxdisplay/hd44780.c| 62 -
drivers/bus/ts-nbus.c | 21 ++-
drivers/gpio/gpio-max3191x.c| 17
me on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/bo
Delta board with NAND driver
updated to use GPIO API for data I/O. Performance degrade compared to
PIO is much better than before the optimization but still not quite
satisfactory.
Janusz Krzysztofik (4):
gpiolib: Pass bitmaps, not integer arrays, to get/set array
gpiolib: Identify arrays
me on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/bo
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
---
Documentation/driver-api/gpio/consumer.rst | 22
drivers/auxdisplay/hd44780.c| 52 +
drivers/bus/ts-nbus.c | 19 ++-
drivers/gpio/gpio-max3191x.c| 17 +++--
h
Cc: Jonathan Cameron
Cc: Hartmut Knaack
Cc: Peter Meerwald-Stadler
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Janusz Krzysztofik
Acked-by: Ulf Hansson
---
Documentation/driver-api/gpio/consumer.rst | 14 ++--
drivers/auxdisplay/hd44780.c| 12 ++
performance as soon as get/set array functions can accept and
make efficient use of it.
Cc: Jonathan Corbet
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 4 +-
drivers/gpio/gpiolib.c | 72 +-
drivers/gpio/gpiolib.h
Delta board with NAND driver
updated to use GPIO API for data I/O. Performance degrade compared to
PIO is much better than before the optimization but still not quite
satisfactory.
Janusz Krzysztofik (4):
gpiolib: Pass bitmaps, not integer arrays, to get/set array
gpiolib: Identify arrays
Hi Linus,
On Wednesday, August 29, 2018 11:06:21 AM CEST Linus Walleij wrote:
> On Tue, Aug 21, 2018 at 1:42 AM Janusz Krzysztofik
wrote:
>
> > This series is a follow up of the former "mtd: rawnand: ams-delta: Use
> > gpio-omap accessors for data I/O" which al
On Wednesday, August 29, 2018 2:03:18 PM CEST Miguel Ojeda wrote:
> Hi Janusz,
>
> On Tue, Aug 21, 2018 at 1:43 AM, Janusz Krzysztofik
> wrote:
> > Most users of get/set array functions iterate consecutive bits of data,
> > usually a single integer, while or processing a
user bulids an array itself from single GPIOs.
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 14 ++--
drivers/auxdisplay/hd44780.c| 12 ++
drivers/bus/ts-nbus.c | 6 +++--
drivers/gpio/gpio-max31
me on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/board.rst| 15 ++
Documentation/
API
can be used for data I/O without much loss of speed.
Created and tested on a low end Amstrad Delta board with NAND driver
updated to use GPIO API for data I/O. Performance degrade compared to
PIO is much better than before the optimization but still not quite
satisfactory.
Janusz Krzy
performance as soon as get/set array functions can accept and
make efficient use of it.
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api/gpio/consumer.rst | 4 +-
drivers/gpio/gpiolib.c | 72 +-
drivers/gpio/gpiolib.h
tmaps.
All current users are updated as well.
More benefits from the change are expected as soon as planned support
for accepting/passing those bitmaps directly from/to respective GPIO
chip callbacks if applicable is implemented.
Signed-off-by: Janusz Krzysztofik
---
Documentation/driver-api
Created and tested on Amstrad Delta on top of Linux-4.7-rc3 with
"staging: media: omap1: convert to videobuf2" applied.
Signed-off-by: Janusz Krzysztofik
---
drivers/staging/media/omap1/Kconfig| 2 +-
drivers/staging/media/omap1/omap1_camera.c | 432 +-
Created and tested on Amstrad Delta on top of Linux-4.7-rc3 with
"staging: media: omap1: drop videobuf-dma-sg mode" applied.
Signed-off-by: Janusz Krzysztofik
---
drivers/staging/media/omap1/Kconfig| 2 +-
drivers/staging/media/omap1/omap1_came
fixes applied.
Signed-off-by: Janusz Krzysztofik
---
drivers/staging/media/omap1/Kconfig | 1 -
drivers/staging/media/omap1/omap1_camera.c | 445 ---
include/linux/platform_data/media/omap1_camera.h | 9 -
3 files changed, 77 insertions(+), 378 deletions
know how much time I have for that, i.e., when the soc-camera
framework is going to be depreciated.
Thanks,
Janusz
Janusz Krzysztofik (3):
staging: media: omap1: drop videobuf-dma-sg mode
staging: media: omap1: convert to videobuf2
staging: media: omap1: use dmaengine
drivers/staging/
4L2 clock name "mclk", started to return respective CCF
clock instead of the V4l2 one registered by soc_camera. Fix it by
calling v4l2_clk_get() with NULL clock name.
Created and tested on Amstrad Delta against Linux-4.7-rc3 with
omap1_camera fixes.
Signed-off-by: Janusz Krzysztofik
---
that by surrounding soc_camera_host_register() invocation
with clock_start() / clock_stop().
Created and tested on Amstrad Delta against Linux-4.7-rc3 with
'staging: media: omap1: fix null pointer dereference in
omap1_cam_probe()' applied.
Signed-off-by: Janusz Krzysztofik
--
ile being at it:
- follow the recently introduced convention of direct return
instead of jump to return with err value assigned,
- drop no longer needed res member from the definition of struct
omap1_cam_dev.
Created and tested on Amstrad Delta aginst Linux-4.7-rc3
Signed-off-by: Janusz Krzysztofi
Janusz Krzysztofik (3):
staging: media: omap1: fix null pointer dereference in
omap1_cam_probe()
staging: media: omap1: fix sensor probe not working anymore
media: i2c/soc_camera: fix ov6650 sensor getting wrong clock
drivers/media/i2c/soc_camera/ov6650.c | 2 +-
drivers/staging
47 matches
Mail list logo