05 Sep, 2019

1 commit


31 May, 2019

1 commit

  • Based on 3 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [kishon] [vijay] [abraham]
    [i] [kishon]@[ti] [com] this program is distributed in the hope that
    it will be useful but without any warranty without even the implied
    warranty of merchantability or fitness for a particular purpose see
    the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [graeme] [gregory]
    [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
    [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
    [hk] [hemahk]@[ti] [com] this program is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1105 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

26 Feb, 2016

1 commit

  • The spi_lp8841_rtc_probe() function misses an initialization of the
    return code when it fails to get its memory resource, as gcc notices:

    drivers/spi/spi-lp8841-rtc.c: In function 'spi_lp8841_rtc_probe':
    drivers/spi/spi-lp8841-rtc.c:239:9: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]

    This changes the code to propagate the error from devm_ioremap_resource().

    Fixes: 7ecbfff6711f ("spi: master driver to enable RTC on ICPDAS LP-8841")
    Signed-off-by: Arnd Bergmann
    Tested-by: Sergei Ianovich
    Signed-off-by: Mark Brown

    Arnd Bergmann
     

24 Feb, 2016

1 commit

  • ICP DAS LP-8841 contains a DS-1302 RTC. This driver provides an SPI
    master which makes the RTC usable. The driver is not supposed to work
    with anything else.

    The driver uses the standard MicroWire half-duplex transfer timing.
    Master output is set on low clock and sensed by the RTC on the rising
    edge. Master input is set by the RTC on the trailing edge and is sensed
    by the master on low clock.

    Signed-off-by: Sergei Ianovich
    Acked-by: Rob Herring
    Signed-off-by: Mark Brown

    Sergei Ianovich