30 Dec, 2020

1 commit

  • [ Upstream commit e1efdb604f5c9903a5d92ef42244009d3c04880f ]

    The platform device driver name is "max77693-muic", so advertise it
    properly in the modalias string. This fixes automated module loading when
    this driver is compiled as a module.

    Fixes: db1b9037424b ("extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device")
    Signed-off-by: Marek Szyprowski
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Sasha Levin

    Marek Szyprowski
     

29 Sep, 2020

2 commits

  • module_platform_driver() makes the code simpler by eliminating
    boilerplate code.

    Signed-off-by: Liu Shixin
    Reviewed-by: Hans de Goede
    Signed-off-by: Chanwoo Choi

    Liu Shixin
     
  • The commit 85256f611f66 ("extcon: ptn5150: Check current USB mode when
    probing") reused code for checking CC status register in the probe path
    to determine what is initially connected. However if nothing is
    connected, the CC status register will have 0x0 value and print an error
    message:

    ptn5150 1-003d: Unknown Port status : 0

    This is not an error. Also any other unknown port status values are not
    really errors but unhandled cases.

    Fixes: 85256f611f66 ("extcon: ptn5150: Check current USB mode when probing")
    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Chanwoo Choi

    Krzysztof Kozlowski
     

24 Sep, 2020

19 commits


29 May, 2020

4 commits

  • When arizona_request_irq() returns an error code, a
    pairing runtime PM usage counter decrement is needed
    to keep the counter balanced. For error paths after
    this function, things are the same.

    Also, remove calls to pm_runtime_disable() when
    pm_runtime_enable() has not been executed.

    Signed-off-by: Dinghao Liu
    Signed-off-by: Chanwoo Choi

    Dinghao Liu
     
  • Add device tree compatible strings and create proper modalias structures
    to let this driver load automatically if compiled as module, because
    max14577 MFD driver creates MFD cells with such compatible strings.

    Signed-off-by: Marek Szyprowski
    Signed-off-by: Chanwoo Choi

    Marek Szyprowski
     
  • In some error handling paths, a call to 'iio_channel_get()' is not balanced
    by a corresponding call to 'iio_channel_release()'.

    This can be achieved easily by using the devm_ variant of
    'iio_channel_get()'.

    This has the extra benefit to simplify the remove function.

    Fixes: 19939860dcae ("extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices")
    Signed-off-by: Christophe JAILLET
    Signed-off-by: Chanwoo Choi

    Christophe JAILLET
     
  • The variable idx is being initialized with a value that is never read
    and it is being updated later with a new value. The initialization is
    redundant and can be removed.

    Addresses-Coverity: ("Unused value")
    Signed-off-by: Colin Ian King
    Signed-off-by: Chanwoo Choi

    Colin Ian King
     

04 Apr, 2020

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here is the big set of char/misc/other driver patches for 5.7-rc1.

    Lots of things in here, and it's later than expected due to some
    reverts to resolve some reported issues. All is now clean with no
    reported problems in linux-next.

    Included in here is:
    - interconnect updates
    - mei driver updates
    - uio updates
    - nvmem driver updates
    - soundwire updates
    - binderfs updates
    - coresight updates
    - habanalabs updates
    - mhi new bus type and core
    - extcon driver updates
    - some Kconfig cleanups
    - other small misc driver cleanups and updates

    As mentioned, all have been in linux-next for a while, and with the
    last two reverts, all is calm and good"

    * tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (174 commits)
    Revert "driver core: platform: Initialize dma_parms for platform devices"
    Revert "amba: Initialize dma_parms for amba devices"
    amba: Initialize dma_parms for amba devices
    driver core: platform: Initialize dma_parms for platform devices
    bus: mhi: core: Drop the references to mhi_dev in mhi_destroy_device()
    bus: mhi: core: Initialize bhie field in mhi_cntrl for RDDM capture
    bus: mhi: core: Add support for reading MHI info from device
    misc: rtsx: set correct pcr_ops for rts522A
    speakup: misc: Use dynamic minor numbers for speakup devices
    mei: me: add cedar fork device ids
    coresight: do not use the BIT() macro in the UAPI header
    Documentation: provide IBM contacts for embargoed hardware
    nvmem: core: remove nvmem_sysfs_get_groups()
    nvmem: core: use is_bin_visible for permissions
    nvmem: core: use device_register and device_unregister
    nvmem: core: add root_only member to nvmem device struct
    extcon: axp288: Add wakeup support
    extcon: Mark extcon_get_edev_name() function as exported symbol
    extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER
    dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format
    ...

    Linus Torvalds
     

25 Mar, 2020

4 commits


16 Dec, 2019

1 commit


09 Dec, 2019

8 commits