Skip to content
Permalink
Corentin-Labbe…
Switch branches/tags

Commits on Oct 13, 2021

  1. staging: media: zoran: introduce zoran_i2c_init

    Reduces the size of the probe function by adding zoran_i2c_init/zoran_i2c_exit
    functions.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  2. staging: media: zoran: move config select on primary kconfig

    Since all kconfigs for card selection are bool, this causes all selected modules
    to be always built-in.
    Prevent this by moving selects to the main tristate kconfig.
    
    By doing this, remove also all "if MEDIA_SUBDRV_AUTOSELECT" which are
    wrong, since zoran always need them to work.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  3. staging: media: zoran: move videodev alloc

    Move some code out of zr36057_init() and create new functions for handling zr->video_dev.
    This permit to ease code reading and fix a zr->video_dev memory leak.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  4. staging: media: zoran: remove vidmem

    The vidmem parameter is no longer necessary since we removed framebuffer
    support.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  5. staging: media: zoran: fusion all modules

    The zoran driver is split in many modules, but this lead to some
    problems.
    One of them is that load order is incorrect when everything is built-in.
    
    Having more than one module is useless, so fusion all zoran modules in
    one.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  6. staging: media: zoran: videocode: remove procfs

    Now we have a debugfs, we can remove all PROCFS stuff.
    We keep videocodec_debugfs_show(), it will be used later
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  7. staging: media: zoran: add debugfs

    Add debugfs for displaying zoran debug and stats information.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  8. staging: media: zoran: rename debug module parameter

    All zoran module will be merged, so to prevent conflict, the debug
    module parameter need to be renamed
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  9. staging: media: zoran: use module_pci_driver

    Simplify code by using module_pci_driver()
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  10. staging: media: zoran: move module parameter checks to zoran_probe

    We need to empty zoran_init() for removing it later.
    Furthermore, this permit to use pci_xxx instead of pr_xxx for prettier
    printing.
    
    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    montjoie authored and intel-lab-lkp committed Oct 13, 2021
  11. staging: vt6655: fix camelcase in byRate

    Replace camel case function parameter name byRate (hungarian notation)
    with snake case equivalent, in card.c
    
    Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
    Link: https://lore.kernel.org/r/20211007161535.7563-1-tomm.merciai@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Scott31393 authored and gregkh committed Oct 13, 2021
  12. staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC

    Fix the following build/link errors:
    
      ld: drivers/staging/ks7010/ks_hostif.o: in function `michael_mic.constprop.0':
      ks_hostif.c:(.text+0x95b): undefined reference to `crypto_alloc_shash'
      ld: ks_hostif.c:(.text+0x97a): undefined reference to `crypto_shash_setkey'
      ld: ks_hostif.c:(.text+0xa13): undefined reference to `crypto_shash_update'
      ld: ks_hostif.c:(.text+0xa28): undefined reference to `crypto_shash_update'
      ld: ks_hostif.c:(.text+0xa48): undefined reference to `crypto_shash_finup'
      ld: ks_hostif.c:(.text+0xa6d): undefined reference to `crypto_destroy_tfm'
    
    Fixes: 8b523f2 ("staging: ks7010: removed custom Michael MIC implementation.")
    Fixes: 3e5bc68 ("staging: ks7010: Fix build error")
    Fixes: a496142 ("Revert "staging: ks7010: Fix build error"")
    Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
    Link: https://lore.kernel.org/r/20211011152941.12847-1-vegard.nossum@oracle.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    vegard authored and gregkh committed Oct 13, 2021
  13. staging: fbtft: Make fbtft_remove_common() return void

    fbtft_remove_common() is only called with a non-NULL fb_info. (All
    callers are in remove callbacks and the matching probe callbacks set
    driver data accordingly.) So fbtft_remove_common() always returns zero.
    Make it return void instead which makes it easier to see in the callers
    that there is no error to handle.
    
    Also the return value of platform and spi remove callbacks is ignored
    anyway and not freeing resources in .remove() is a bad idea.
    
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Link: https://lore.kernel.org/r/20211012153945.2651412-20-u.kleine-koenig@pengutronix.de
    Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ukleinek authored and gregkh committed Oct 13, 2021
  14. staging: r8188eu: Use zeroing allocator in wpa_set_encryption()

    Use zeroing allocator rather than allocator followed by memset with 0.
    
    This issue was detected with the help of Coccinelle.
    
    Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
    Link: https://lore.kernel.org/r/20211012024624.GA1062447@embeddedor
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    GustavoARSilva authored and gregkh committed Oct 13, 2021
  15. staging: r8188eu: Fix misspelling in comment

    As format check raised by scripts/checkpatch.pl, comment in the rtw_ap.c
    looks misspelled by accident. Help fix it.
    
    The original error is as below shows:
    
    CHECK: 'followign' may be misspelled - perhaps 'following'?
    +Set to 0 (HT pure) under the followign conditions
    
    Signed-off-by: Siou-Jhih, Guo <hallblazzar@gmail.com>
    Link: https://lore.kernel.org/r/20211011214803.GA239300@hallblazzar-Precision-5510
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    HallBlazzar authored and gregkh committed Oct 13, 2021
  16. staging: most: dim2: use device release method

    Commit 723de0f ("staging: most: remove device from interface
    structure") moved registration of driver-provided struct device to
    the most subsystem. This updated dim2 driver as well.
    
    However, struct device passed to register_device() becomes refcounted,
    and must not be explicitly deallocated, but must provide release method
    instead. Which is incompatible with managing it via devres.
    
    This patch makes the device structure allocated without devres, adds
    device release method, and moves device destruction there.
    
    Fixes: 723de0f ("staging: most: remove device from interface structure")
    Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
    Link: https://lore.kernel.org/r/20211005143448.8660-2-nikita.yoush@cogentembedded.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    nikita-yoush authored and gregkh committed Oct 13, 2021
  17. staging: most: dim2: do not double-register the same device

    Commit 723de0f ("staging: most: remove device from interface
    structure") moved registration of driver-provided struct device to
    the most subsystem.
    
    Dim2 used to register the same struct device to provide a custom device
    attribute. This causes double-registration of the same struct device.
    
    Fix that by moving the custom attribute to driver's dev_groups.
    This moves attribute to the platform_device object, which is a better
    location for platform-specific attributes anyway.
    
    Fixes: 723de0f ("staging: most: remove device from interface structure")
    Acked-by: Christian Gromm <christian.gromm@microchip.com>
    Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
    Link: https://lore.kernel.org/r/20211011061117.21435-1-nikita.yoush@cogentembedded.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    nikita-yoush authored and gregkh committed Oct 13, 2021
  18. staging: r8188eu: odm SupportPlatform is always ODM_CE

    Remove the SupportPlatform entry of struct odm_dm_struct and any code
    that depends on SupportPlatform != ODM_CE.
    
    Merge functions in places where there was a "top-level function" that
    would select a "sub-function" based on SupportPlatform.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-9-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  19. staging: r8188eu: odm BoardType is never set

    odm BoardType is never set, so it's always 0 (ODM_BOARD_NORMAL).
    Remove dead code and the BoardType itself.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-8-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  20. staging: r8188eu: remove odm_SwAntDivInit

    This function is empty, it can be removed.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-7-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  21. staging: r8188eu: SupportICType is always ODM_RTL8188E

    SupportICType in struct odm_dm_struct is always ODM_RTL8188E. Remove the
    component and code that is executed only for other types.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-6-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  22. staging: r8188eu: remove LastMinUndecoratedPWDBForDM

    LastMinUndecoratedPWDBForDM in struct dm_priv is not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-5-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  23. staging: r8188eu: remove rtl8188e_deinit_dm_priv

    This function is empty and can be removed.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-4-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  24. staging: r8188eu: simplify rtl8188e_HalDmWatchDog

    Now that we don't call dm_CheckStatistics any more, we don't need
    fw_cur_in_ps and fw_ps_awake.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-3-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  25. staging: r8188eu: remove dm_CheckStatistics

    The dm_CheckStatistics function is empty. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211011201159.10252-2-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  26. staging: r8188eu: remove odm ext lna info

    The ext lna info is never set. Remove it and fix up the one place
    where it's read.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-11-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  27. staging: r8188eu: remove odm ext pa info

    The ext pa info is not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-10-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  28. staging: r8188eu: remove odm ext trsw info

    The ext trsw info is not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-9-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  29. staging: r8188eu: remove odm hct test info

    The "in hct test" variable is never set, it's always 0.
    
    Remove the variable and fix up the one place where it was used.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-8-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  30. staging: r8188eu: remove odm wifi test info

    The wifi test info is set but not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-7-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  31. staging: r8188eu: remove odm dualmac smart concurrent info

    The dualmac smart concurrent info is set but not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-6-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  32. staging: r8188eu: remove odm cut version info

    The cut version info is set but not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-5-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  33. staging: r8188eu: remove odm fab version info

    The fab version info is set but not used. Remove it.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-4-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  34. staging: r8188eu: RfOnOffDetect is unused

    Remove the RfOnOffDetect function, which is not used.
    
    Suggested-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-3-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
  35. staging: r8188eu: remove specific device table

    This driver implements a mechanism to set additional configuration flags
    per supported usb device.
    
    None of the supported devices uses these additional flags. Remove the data
    types and the code to process the flags.
    
    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    Link: https://lore.kernel.org/r/20211010175204.24029-2-martin@kaiser.cx
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    martin-kaiser authored and gregkh committed Oct 13, 2021
Older