summaryrefslogtreecommitdiff
path: root/drivers/staging
AgeCommit message (Collapse)Author
14 hoursMerge branch 'staging-next' of ↵Mark Brown
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git # Conflicts: # drivers/staging/rtl8723bs/core/rtw_ap.c # drivers/staging/rtl8723bs/core/rtw_cmd.c # drivers/staging/rtl8723bs/core/rtw_efuse.c # drivers/staging/rtl8723bs/core/rtw_ieee80211.c # drivers/staging/rtl8723bs/core/rtw_ioctl_set.c # drivers/staging/rtl8723bs/core/rtw_mlme.c # drivers/staging/rtl8723bs/core/rtw_mlme_ext.c # drivers/staging/rtl8723bs/core/rtw_pwrctrl.c # drivers/staging/rtl8723bs/core/rtw_recv.c # drivers/staging/rtl8723bs/core/rtw_security.c # drivers/staging/rtl8723bs/core/rtw_sta_mgt.c # drivers/staging/rtl8723bs/core/rtw_wlan_util.c # drivers/staging/rtl8723bs/core/rtw_xmit.c # drivers/staging/rtl8723bs/hal/Hal8723BReg.h # drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c # drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h # drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c # drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h # drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h # drivers/staging/rtl8723bs/hal/HalPhyRf.c # drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c # drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h # drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c # drivers/staging/rtl8723bs/hal/hal_btcoex.c # drivers/staging/rtl8723bs/hal/hal_com.c # drivers/staging/rtl8723bs/hal/hal_com_phycfg.c # drivers/staging/rtl8723bs/hal/hal_intf.c # drivers/staging/rtl8723bs/hal/odm.c # drivers/staging/rtl8723bs/hal/odm.h # drivers/staging/rtl8723bs/hal/odm_DIG.h # drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.h # drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c # drivers/staging/rtl8723bs/hal/odm_HWConfig.c # drivers/staging/rtl8723bs/hal/odm_HWConfig.h # drivers/staging/rtl8723bs/hal/odm_precomp.h # drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c # drivers/staging/rtl8723bs/hal/rtl8723b_dm.c # drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c # drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c # drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c # drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c # drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c # drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c # drivers/staging/rtl8723bs/hal/sdio_halinit.c # drivers/staging/rtl8723bs/hal/sdio_ops.c # drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h # drivers/staging/rtl8723bs/include/basic_types.h # drivers/staging/rtl8723bs/include/cmd_osdep.h # drivers/staging/rtl8723bs/include/drv_types.h # drivers/staging/rtl8723bs/include/hal_com.h # drivers/staging/rtl8723bs/include/hal_com_h2c.h # drivers/staging/rtl8723bs/include/hal_com_phycfg.h # drivers/staging/rtl8723bs/include/hal_com_reg.h # drivers/staging/rtl8723bs/include/hal_data.h # drivers/staging/rtl8723bs/include/hal_intf.h # drivers/staging/rtl8723bs/include/hal_pg.h # drivers/staging/rtl8723bs/include/hal_phy.h # drivers/staging/rtl8723bs/include/ieee80211.h # drivers/staging/rtl8723bs/include/ioctl_cfg80211.h # drivers/staging/rtl8723bs/include/osdep_intf.h # drivers/staging/rtl8723bs/include/osdep_service.h # drivers/staging/rtl8723bs/include/osdep_service_linux.h # drivers/staging/rtl8723bs/include/rtl8723b_cmd.h # drivers/staging/rtl8723bs/include/rtl8723b_dm.h # drivers/staging/rtl8723bs/include/rtl8723b_hal.h # drivers/staging/rtl8723bs/include/rtl8723b_spec.h # drivers/staging/rtl8723bs/include/rtl8723b_xmit.h # drivers/staging/rtl8723bs/include/rtw_ap.h # drivers/staging/rtl8723bs/include/rtw_cmd.h # drivers/staging/rtl8723bs/include/rtw_eeprom.h # drivers/staging/rtl8723bs/include/rtw_efuse.h # drivers/staging/rtl8723bs/include/rtw_ht.h # drivers/staging/rtl8723bs/include/rtw_io.h # drivers/staging/rtl8723bs/include/rtw_ioctl_set.h # drivers/staging/rtl8723bs/include/rtw_mlme.h # drivers/staging/rtl8723bs/include/rtw_mlme_ext.h # drivers/staging/rtl8723bs/include/rtw_pwrctrl.h # drivers/staging/rtl8723bs/include/rtw_recv.h # drivers/staging/rtl8723bs/include/rtw_security.h # drivers/staging/rtl8723bs/include/rtw_xmit.h # drivers/staging/rtl8723bs/include/sdio_ops.h # drivers/staging/rtl8723bs/include/sta_info.h # drivers/staging/rtl8723bs/include/wlan_bssdef.h # drivers/staging/rtl8723bs/include/xmit_osdep.h # drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c # drivers/staging/rtl8723bs/os_dep/os_intfs.c # drivers/staging/rtl8723bs/os_dep/sdio_intf.c # drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c # drivers/staging/rtl8723bs/os_dep/xmit_linux.c
14 hoursMerge branch 'char-misc-next' of ↵Mark Brown
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git # Conflicts: # drivers/android/binder_alloc.c # drivers/android/binderfs.c
14 hoursMerge branch 'next' of ↵Mark Brown
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
15 hoursMerge branch 'for-next' of ↵Mark Brown
https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git
15 hoursMerge branch 'main' of ↵Mark Brown
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
15 hoursMerge branch 'next' of git://linuxtv.org/media-ci/media-pending.gitMark Brown
24 hoursMerge https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git ↵David Hildenbrand (Arm)
mm-unstable into for-next Signed-off-by: David Hildenbrand (Arm) <david@kernel.org>
27 hoursmedia: staging: imx: don't use GFP_DMA when calling dma_alloc_coherent()Baoquan He
dma_alloc_coherent() allocates the DMA buffer with the device's addressing limitation in mind; the DMA core picks the zone from the device's coherent DMA mask and ignores GFP_DMA passed by the caller. Remove the redundant GFP_DMA flag. Link: https://lore.kernel.org/20260903111836.1777265-9-hebaoquan@kylinos.cn Signed-off-by: Baoquan He <hebaoquan@kylinos.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Harry Yoo <harry@kernel.org>
5 daysMerge tag 'rtw-next-2026-10-08' of https://github.com/pkshih/rtwJohannes Berg
Pink-Ke Shih says: ================== rtw-next patches for v7.4 Mainly, continue to develop RTL8922DE with many patches. Some random cleanups and fixes. The major changes are listed below: rtw88: - support RTL8723BS (remove staging rtl8723bs by the way) - add SDIO TX back-pressure to improve performance rtw89: - add P2P_DEVICE declaration - many BT-coexistence update for RTL8922D ================== Signed-off-by: Johannes Berg <johannes.berg@intel.com>
5 daysMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski
Cross-merge networking fixes after downstream PR (net-7.3-rc7). Conflicts: include/net/strparser.h 0984ebc631792 ("strparser: make sure __strp_recv isn't running before tearing down the parser") 02fd0a2111374 ("net: strparser: removed the aborted bit and aborts counter") https://lore.kernel.org/asYfmLsfy-SCxXjr@sirena.co.uk Adjacent changes: Documentation/networking/strparser.rst 5f193cdabf25 ("docs: networking: strparser: remove general mode") 0984ebc63179 ("strparser: make sure __strp_recv isn't running before tearing down the parser") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
6 daysstaging: rtl8723bs: remove the obsolete driverLuka Gejak
RTW88 now supports RTL8723B family, via rtw8723b driver which handles RTL8723BS, so the staging driver is obsolete. Remove it together with its Kconfig and Makefile wiring. Signed-off-by: Luka Gejak <luka.gejak@linux.dev> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20261007102819.19904-1-luka.gejak@linux.dev
9 daysstaging: media: remove MAX96712 driverCosmin Tanislav
Remove the staging MAX96712 driver. Its functionality has been moved to the MAX96724 driver which makes use of the Maxim GMSL2/3 deserializer framework. Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com> Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Tested-by: Martin Hecht <mhecht73@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
9 daysMerge 7.3-rc6 into char-misc-nextGreg Kroah-Hartman
This resolves a number of merge conflicts between the branches, and we pick up the fixes in 7.3-rc6 that we need for testing. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 daysmedia: meson: vdec: size capture planes from the aligned canvasMichael Freidkin
The decoder writes a whole canvas of ALIGN(width, 32) x ALIGN(height, 32) (amvdec_set_canvases()) and reports bytesperline = ALIGN(width, 32), but get_output_size() derives sizeimage from the raw width x height. When the width is not a multiple of 32 the planes are too small for the advertised stride: for 720x360 NV12M the luma plane is 262144 bytes while 736 * 360 = 264960 are needed (282624 for the canvas the firmware fills). The decoder writes past the buffer, and importing the capture dma-buf into DRM fails: drmModeAddFB2() returns -EINVAL, so e.g. Kodi plays the sound over a black screen. 1280x720 and 1920x1080 are not affected. Size the planes from the aligned canvas the hardware actually uses. Tested on an S905X (GXL p212) board with LibreELEC 12 (6.16.0-rc3): 720x360 and 1920x1080 H.264 play through V4L2 m2m + DRM PRIME with no AddFB2 errors. Fixes: 3e7f51bd9607 ("media: meson: add v4l2 m2m video decoder driver") Cc: stable@vger.kernel.org Signed-off-by: Michael Freidkin <freidkin@gmail.com> Reviewed-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
10 daysstaging: media: sunxi: cedrus: add H616 variantChen-Yu Tsai
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it also includes a VP9 decoder. Support for VP9 will be added separately. Add the compatible for the H616 variant, using the H6 variant data. Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Chen-Yu Tsai <wens@kernel.org> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
10 daysmedia: atomisp: Remove redundant dev_err()Pan Chuang
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in devm_request_*_irq()"), devm_request_threaded_irq() automatically logs detailed error messages on failure. Remove the now-redundant driver-specific dev_err() call. Signed-off-by: Pan Chuang <panchuang@vivo.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysmedia: atomisp: Remove useless return statementTomas Chimenti
Fix checkpatch error "WARNING: void function return statements are not generally useful" Signed-off-by: Tomas Chimenti <tach.365@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: make pmic_name array constRaushan Kumar
pmic_name is a fixed lookup table that is only ever read, never reassigned. Mark it as an array of const pointers so the compiler enforces this and the array can be placed in read-only memory, as flagged by checkpatch.pl. Signed-off-by: Raushan Kumar <mitramaurya80@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: fix typo in refcount.c commentTomasz Unger
Fix 'aswell' typo to 'as well' in a TODO comment describing refcount support for memory types other than ia_css_ptr. Only the spelling is corrected; the TODO item itself is unchanged and still needs to be addressed separately. Reformat the comment to a single line, since it fits well within the line length limit, instead of the previous non-standard two-line style. Signed-off-by: Tomasz Unger <tomasz.unger@yahoo.pl> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: Use ARRAY_SIZE macroRishab Madhugiri
Clean up loop bound calculation by replacing sizeof(bds_factors) / sizeof(struct bayer_ds_factor) with the ARRAY_SIZE() helper macro to improve readability and maintainability. Move loop counter increment to the same line as the for loop and declare the loop counter locally. Signed-off-by: Rishab Madhugiri <rishab.madhugiri@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: remove unnecessary void function returnMatthew Zvolsky
Remove an unneeded return statement at the end of a void function in atomisp_cmd.c. This cleans up the code and fixes a checkpatch.pl warning: "void function return statements are not generally useful". Signed-off-by: Matthew Zvolsky <matthew-kernel@post.cz> Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: Use C99 initializers for ACPI IDsLalit Shankar Chowdhury
Use designated initializers for the ACPI ID tables. Signed-off-by: Lalit Shankar Chowdhury <lalitshankarch@gmail.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysmedia: Consolidate AtomISP v2 PCI IDs in the pci_ids.hAndy Shevchenko
We have a few drivers using same pair of the PCI IDs across the kernel and there seems more to go, consolidate AtomISP v2 PCI IDs in pci_ids.h database. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> # pci_ids.h Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: Update TODO fileSakari Ailus
Update the TODO file to match the current state of affairs. Add sensor drivers and make adding ISP parameter support optional. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
10 daysstaging: media: atomisp: Remove unnecessary forward declaration in gdc.cAdrian Barnaś
Get rid of gdc_reg_store() forward declaration because it brings no value. Signed-off-by: Adrian Barnaś <abarnas@google.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
13 daysstaging: rtl8723bs: Remove manual ifname allocationSvyatoslav Nikolenko
The manual ifname allocation via dev_alloc_name() is redundant because the networking core handles interface naming automatically during register_netdev(). Remove the ifname module parameter, the corresponding field from struct registry_priv, and the rtw_init_netdev_name() callpath. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Svyatoslav Nikolenko <nsvatoslav515@gmail.com> Link: https://patch.msgid.link/20261001141242.2763-1-nsvatoslav515@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: make rtl8723_dequeue_writeport() return boolHungyu Lin
rtl8723_dequeue_writeport() returns boolean state and its caller uses the return value as a boolean. Change the return type to bool and replace _FAIL with false. Also use bool for the caller's queue_empty variable. No functional change. Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> Link: https://patch.msgid.link/20261001112351.6820-1-dennylin0707@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: media: tegra-video: simplify formats enumerationYury Norov
Get rid of bitmap_weight(), and use find_nth_bit() in the function, instead of the for-loop. Signed-off-by: Yury Norov <ynorov@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
13 daysstaging: media: tegra-video: fix syncpoint leak in tegra20 channel initCong Nguyen
tegra20_channel_host1x_syncpt_init() requests two host1x syncpoints. It stored the first one (mw ack) into chan->mw_ack_sp[0] and only then requested the second one (frame start). If the second request failed the function returned without releasing the first syncpoint, leaking it: the caller tegra_channel_init() bails out with a bare "return ret" on a syncpt init failure and does not run its free_syncpts error path (that path only covers failures after syncpoint init has fully succeeded), and the channel is subsequently torn down via the kfree()-only path, so nothing ever releases the orphaned syncpoint. Release the already-acquired syncpoint on the error path, and only publish the syncpoints into the channel once both have been successfully requested, so chan->mw_ack_sp[0] never holds a released handle. This matches the handling in tegra210_channel_host1x_syncpt_init(). Fixes: 0e2c4117c351 ("staging: media: tegra-video: add CSI support for Tegra20 and Tegra30") Signed-off-by: Cong Nguyen <congnt264@gmail.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
13 daysstaging: rtl8723bs: remove unused monitor interface nameAmirHossein HajiMohammadi
ifname_mon is assigned when the monitor interface is created and cleared when it is deleted, but the value is never read. Remove the unused field and its dead stores. Signed-off-by: AmirHossein HajiMohammadi <info@hajimohammadi.net> Link: https://patch.msgid.link/71228854-6533-486D-B930-BBFD2B51D2B1@hajimohammadi.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: rename PHY_ConvertTxPowerLimitToPowerIndex()Leonardo Martins Martins
Rename function PHY_ConvertTxPowerLimitToPowerIndex() to phy_tx_power_limit_to_index(). Signed-off-by: Leonardo Martins Martins <dev.lmmrtns@gmail.com> Link: https://patch.msgid.link/20260926-rtl8723bs-tx-pwr-limit-v1-1-989dcbc113fd@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: make xmitframe_swencrypt() return voidHungyu Lin
xmitframe_swencrypt() always returns _SUCCESS, and none of its callers use the return value. Change the function to return void. No functional change. Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> Link: https://patch.msgid.link/20260926102736.2773-1-dennylin0707@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: remove unnecessary parentheses around prframe->u.hdr.listRishik Yechuri
Removed redundant outer parentheses around prframe->u.hdr.list in a call to list_del_init() Signed-off-by: Rishik Yechuri <rishik.yechuri.code@gmail.com> Link: https://patch.msgid.link/20260925175627.227374-1-rishik.yechuri.code@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: align function parameters in aes_decipherRishik Yechuri
Fix checkpatch.pl alignment check in aes_decipher() where parameter alignment on the second line didn't match the open parenthesis Signed-off-by: Rishik Yechuri <rishikyechuri@protonmail.com> Link: https://patch.msgid.link/20260925162828.221356-1-rishikyechuri@protonmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysStaging: rtl8723bs: fixed camel case coding style issue.Franco Hector Hugo Montenegro
Fixed a coding style issue for the field dot118021XPrivacy in the struct sta_info. Signed-off-by: Franco Hector Hugo Montenegro <franco.montenegro.ruke@gmail.com> Link: https://patch.msgid.link/20260924222122.682920-1-franco.montenegro.ruke@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: fix block comment styleSiho Kim
Add a leading asterisk to each line of block comments to follow the kernel coding style. Signed-off-by: Siho Kim <siho93.kim@gmail.com> Link: https://patch.msgid.link/20260923185649.1634863-1-siho93.kim@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: remove unused NDIS association and auth definesIñaki Sobera Sotomayor
The NDIS_802_11_AI_REQFI_*, NDIS_802_11_AI_RESFI_* and NDIS_802_11_AUTH_REQUEST_* macros are leftovers from the original NDIS-based vendor driver. None of them is referenced anywhere in the driver, so drop them. No functional change intended. Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com> Link: https://patch.msgid.link/20260923172049.1644917-1-inakisobera8@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: remove reduntant externs in rtw_xmit.hMatheus Alves de Almeida
Several function declarations in rtw_xmit.h are currently done with extern. This is not necessary, so remove the extern from them. Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> Link: https://patch.msgid.link/20260919212950.26636-1-matheus.aalmeida@inf.ufrgs.br Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: Remove redundant else blockShyam Sunder Reddy Padira
When the if branch returns directly, the following else block is unnecessary. Remove the redundant else block to improve readability. No functional change. Signed-off-by: Shyam Sunder Reddy Padira <shyamsunderreddypadira@gmail.com> Link: https://patch.msgid.link/20260919165205.9896-1-shyamsunderreddypadira@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: fix lines exceeding 100 columns in rtw_security.cRareș-Mihai Vladu
Reformat long lines in rtw_security.c to fit within the 100-column limit by splitting function arguments, expressions, and moving Signed-off-by: Rareș-Mihai Vladu <vladurares@gmail.com> Link: https://patch.msgid.link/20260916074843.1038743-1-vladurares@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: add braces on all arms of if/else in rtw_mlme_ext.cMuhammad Israr
Fix checkpatch CHECKs: braces {} should be used on all arms of this statement, and Unbalanced braces around else statement. i checked the kernel CodingStyle, when one branch of an if/else requires braces, both branches should use braces. did not change any functionality Signed-off-by: Muhammad Israr <7israr.work@gmail.com> Link: https://patch.msgid.link/20260914135639.28269-1-7israr.work@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: rename CamelCase variables in function paramaterIsaac Aneek Sarker
As per the kernel style guidelines, and reported by checkpatch.pl rename CamelCase variable naming in function parameters and also inside the function Signed-off-by: Isaac Aneek Sarker <alvasarker2004@gmail.com> Link: https://patch.msgid.link/20260912052648.12007-1-alvasarker2004@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: greybus: gbphy: use sysfs_emit() instead of sprintf()Park Tae-sun
The sysfs documentation (Documentation/filesystems/sysfs.rst) recommends using sysfs_emit() instead of sprintf() in sysfs show() callbacks. Replace sprintf() with sysfs_emit() in the protocol_id_show() callback. This follows the standard kernel practice and existing use of sysfs_emit() in other Greybus sysfs show functions. No functional change. Signed-off-by: Park Tae-sun <ts930@dgu.ac.kr> Link: https://patch.msgid.link/178991148260.29938.9272611738457436343@naver.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: greybus: remove camera driver marked as broken since 2016Ethan Nelson-Moore
The Greybus camera driver has been marked as BROKEN since commit d4f56b47a8fa ("staging: greybus: Add drivers/staging/greybus to the build"). It has not been able to compile since at least commit ec0ad868173d ("staging: greybus: move core include files to include/linux/greybus/") because it includes greybus_protocols.h from its own directory. These two facts make it very clear there is no demand for this driver. Remove it from the kernel. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Link: https://patch.msgid.link/20260918011437.108678-1-enelsonmoore@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: greybus: remove driver depending on nonexistent config optionEthan Nelson-Moore
The Greybus Arche Platform driver depends on the config options USB_HSIC_USB3613 or COMPILE_TEST. USB_HSIC_USB3613 has never existed in mainline Linux, and COMPILE_TEST is intended to enable the compilation of drivers on platforms that can't support them to improve code coverage and ease testing of trivial or tree-wide changes. Therefore, it is impossible for anyone to be using this driver with unmodified mainline kernels. Remove it and move the former maintainer to the CREDITS file. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Link: https://patch.msgid.link/20260915020308.83636-1-enelsonmoore@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: greybus: remove empty TODO fileEthan Nelson-Moore
drivers/staging/greybus/TODO has been empty since commit d85bef159923 ("staging: greybus: remove completed GPIO conversion task from TODO"). Remove it. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20260918011654.115001-1-enelsonmoore@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daystty: fix saved termios reset raceJohan Hovold
Resetting saved termios state on device registration is needed where a minor number can be reused for an entirely different device and where the old settings may prevent the port from even being opened (e.g. when CLOCAL is not set). Not all TTY drivers guarantee that the minor number is no longer in use when registering devices however, something which can lead to a use-after-free when closing a TTY (and saving its termios) races with re-registration. Add a new TTY_DRIVER_RESET_SAVED_TERMIOS flag to request that any saved termios state is reset on registration and only set it for drivers that make sure that the minor number is no longer in use. Fixes: 93857edd9829 ("tty: reset termios state on device registration") Reported-by: Chengfeng Ye <nicoyip.dev@gmail.com> Link: https://lore.kernel.org/20260926184154.3017929-1-nicoyip.dev@gmail.com Cc: stable@kernel.org # 4.12 Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260930131845.1809256-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: use bool for rtw_endofpktfileMatheus Alves de Almeida
rtw_endofpktfile() returns only true or false. Use bool as its return type to accurately describe the function's behavior. Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> Link: https://patch.msgid.link/20260914223620.145302-1-matheus.aalmeida@inf.ufrgs.br Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: delete empty comment lines in source filesJennifer Guo
Delete all empty comment lines in hal/ and os_dep/ source files as they are not serving any purpose. Add back a newline if needed for spacing, while avoiding multiple blank lines. Signed-off-by: Jennifer Guo <guojy.bj@gmail.com> Link: https://patch.msgid.link/20260911193335.6908-3-guojy.bj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 daysstaging: rtl8723bs: delete empty comment lines in hal/ header filesJennifer Guo
Delete all empty comment lines in hal/ header files. Add back a newline if needed for spacing, while avoiding multiple blank lines. Signed-off-by: Jennifer Guo <guojy.bj@gmail.com> Link: https://patch.msgid.link/20260911193335.6908-2-guojy.bj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>