Dave Penkler
4cd654f847
staging: gpib: Add gpio bitbang GPIB driver
...
GPIO bitbang driver for Rasbberry Pi 2/3/4/5
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-15-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:40 +02:00
Dave Penkler
8e4841a088
staging: gpib: Add Frank Mori Hess FPGA PCI GPIB driver
...
Driver for Frank Mori Hess' FPGA based PCI board
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-14-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:39 +02:00
Dave Penkler
55936779f4
staging: gpib: Add Fluke cda based cards GPIB driver
...
Driver for Fluke cda based cards
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-13-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:38 +02:00
Dave Penkler
e1339245eb
staging: gpib: Add Computer Equipment Corporation GPIB driver
...
Driver for Computer Equipment Corporation and compatible boards.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-12-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:37 +02:00
Dave Penkler
e9dc69956d
staging: gpib: Add Computer Boards GPIB driver
...
Driver for Computer Boards interface cards.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-11-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:36 +02:00
Dave Penkler
4c41fe886a
staging: gpib: Add Agilent/Keysight 82357x USB GPIB driver
...
Driver for the Agilent/Keysight USB dongles.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-10-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:34 +02:00
Dave Penkler
09a4655ee1
staging: gpib: Add HP/Agilent/Keysight 8235xx PCI GPIB driver
...
Driver for the HP/Agilent/Keysight 8235xx boards.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-9-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:33 +02:00
Dave Penkler
3ba84ac69b
staging: gpib: Add nec7210 GPIB chip driver
...
Low level Chip driver for NEC7210 and compatible based boards.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-8-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:32 +02:00
Dave Penkler
add452d09a
staging: gpib: Add tms9914 GPIB chip driver
...
Low level Chip driver used on a number of boards.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-7-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:30 +02:00
Dave Penkler
9dde4559e9
staging: gpib: Add GPIB common core driver
...
This is the common core driver that interfaces with the userland code
and creates the gpib device files.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-6-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:29 +02:00
Dave Penkler
2da03e7e31
staging: gpib: Add user api include files
...
User api include files used by drivers and userland code.
The files are also distributed with the userland package.
Since these include files have been used by many applications we
had to keep the camelCase enums, typedefs and uint8_t declarations.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-5-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:28 +02:00
Dave Penkler
6c52d5e3cd
staging: gpib: Add common include files for GPIB drivers
...
Common include files used only by the drivers.
Signed-off-by: Dave Penkler <dpenkler@gmail.com >
Link: https://lore.kernel.org/r/20240918121908.19366-4-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 15:28:20 +02:00
Philipp Hortmann
f11192a246
staging: rts5208: Remove unused driver
...
Wei Wang from Realsil contributed this driver in 2011.
The following reasons lead to the removal:
- This driver generates maintenance workload
- Did not find minimal documentation on the web.
- No blog entries about anyone using the rts5208 and rts5288 during the
last years.
- Did not find any device that may has it in and is still available on
the market.
Link: https://lore.kernel.org/linux-staging/2024100943-shank-washed-a765@gregkh/T/#t
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/20241009193250.6211-1-philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-10 11:42:08 +02:00
Umang Jain
31d2ad610c
staging: vchiq_core: Drop vchiq_pagelist.h
...
vchiq_pagelist.h only defines one struct and a couple of macros.
It can be merged with vchiq_core since all the pagelist related
function helpers are now in vchiq_core for bulk transfers.
Move the struct and related macros to vchiq_core header and drop
vchiq_pagelist.h.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org >
Link: https://lore.kernel.org/r/20240919142130.1331495-4-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:59:07 +02:00
Umang Jain
72d092f121
staging: vchiq_core: Move bulk data functions in vchiq_core
...
Bulk transfers core logic lives in vchiq_core.c, hence move all
the preparatory bulk data allocation helpers to vchiq_core.c (from
vchiq_arm).
The discrepancy was noticed when vchiq_prepare_bulk_data() and
vchiq_complete_bulk() are being used vchiq_core.c but are defined
in vchiq_arm. Now that they are now confined to vchiq_core.c,
they can be made static and their signatures from vchiq_core header
can be dropped.
vchiq_prepare_bulk_data() and vchiq_complete_bulk() depends on
struct vchiq_pagelist_info, cleanup_pagelist(), free_pagelist() and
create_pagelist() hence they are pulled in from vchiq_arm as well,
as part of this commit.
No functional changes intended in this patch.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org >
Link: https://lore.kernel.org/r/20240919142130.1331495-3-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:59:06 +02:00
Umang Jain
ce64433cd4
staging: vchiq_core: Move remote_event_signal() vchiq_core
...
The function remote_event_signal() is declared in vchiq_core.h while
defined in vchiq_arm.c and used only in vchiq_core.c. Move the
definition to vchiq_core.c as it is only used in this file.
Also convert it to static and drop the function signature from
vchiq_core.h header. BELL2 doorbell macro is also moved from vchiq_arm
to vchiq_core as part of this change.
No functional changes intended in this patch.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org >
Link: https://lore.kernel.org/r/20240919142130.1331495-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:59:06 +02:00
Umang Jain
f813dac50f
staging: vchiq_core: Drop retry loop on -EINTR
...
-EINTR is returned by vchiq_queue_message() on receiving a fatal
signal to the process. Since the process is deemed to be terminated
anyway, do not retry queuing with vchiq_queue_message() on -EINTR.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-7-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:47 +02:00
Umang Jain
ec5d292db3
staging: vchiq_arm: Do not retry bulk transfers on -EINTR
...
-EINTR is returned by various vchiq bulk transfer code paths
on receiving a fatal signal to the process. Since the process is
deemed to be terminated anyway, do not retry the bulk transfer
on -EINTR.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-6-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:47 +02:00
Umang Jain
80f8ea98e4
staging: vchiq_core: Return -EINTR when bulk transfers are interrupted
...
Bulk transfers for various VCHIQ modes use mutex_lock_killable() and
wait_for_completion_killable() variations. Currently, -EAGAIN is
returned if these are interrupted by a fatal signal.
-EAGAIN may mislead the caller into thinking the operation can be
retried, while in reality, the process has received a fatal signal
and is terminating. Therefore, we should update the return value to
align with what these killable functions would return, specifically
-EINTR (Interrupted system call).
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-5-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:47 +02:00
Umang Jain
72925dec88
staging: vchiq_core: Return -EINTR in queue_message() on interrupt
...
queue_message() uses mutex_lock_killable() and
wait_for_completion_killable() variations of locking and wait event
completions respectively. These functions return either 0 (on success)
or -EINTR, if interrupted by a fatal signal (as documented in the
kernel).
However, queue_message() is currently returning -EAGAIN if these
killable functions are interrupted by fatal signals. Bubbling up
-EAGAIN might give a sense to the caller, that the code path can
be re-tried however, in actual sense, a fatal signal has been
received by the process and the process is going away.
Hence, we should align the return value with what these killable
versions will return i.e. -EINTR (Interrupted system call).
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-4-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:47 +02:00
Umang Jain
fbd06c751a
staging: vchiq_core: Return on all errors from queue_message()
...
In vchiq_connect_internal(), a MAKE_CONNECT message is queued
if the connection is disconnected, but only -EAGAIN error is
checked on the error path and returned.
However, queue_message() can fail with other errors as well hence,
vchiq_connect_internal() should return in those cases as well.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-3-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:47 +02:00
Umang Jain
36022f3ee8
staging: vchiq_core: Use killable wait completions for bulk transfers
...
commit f27e47bc6b ("staging: vchiq: use completions instead of
semaphores") introduced completions for events in vchiq interface.
It introduced _interruptible() version of completions for waiting
on events. However, it missed a subtle down_interruptible() macro
override in vchiq_killable.h, which used to mask most of the signals
and only interrupt on fatal ones.
The above issue was fixed in commit a772f11670 ("staging: vchiq: switch
to wait_for_completion_killable"). Given the override logic of
down_interruptible() that existed in vchiq_killable.h, that commit
fixed the completions with the correct variation i.e. killable() family
of functions.
However, commit a772f11670 ("staging: vchiq: switch to
wait_for_completion_killable") later got reverted [1] due to high CPU
load noticed by various downstream and upstream distributions [2].
Reverting the commit solved this problem but the root cause was never
diagonsed and the entire commit was reverted.
This patch brings back killable version of wait events but only for
bulk transfers and queue_message() transfer code paths.
The idea is to bring back killable versions for various event
completions in a phased manner so that we do not re-regress again as
noticed in [2]. Hence, no other wait events are converted from
interruptible -> killable in this patch.
Since the bulk transfers are no longer interruptible (but killable),
drop the "_interruptible" suffix from all vchiq_bulk_xfer_* functions.
[1]: commit 086efbabdc ("staging: vchiq: revert "switch to wait_for_completion_killable"")
[2]: https://patchwork.kernel.org/project/linux-arm-kernel/cover/20190509143137.31254-1-nsaenzjulienne@suse.de/
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com >
Link: https://lore.kernel.org/r/20240918163100.870596-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:58:46 +02:00
Rodrigo Gobbi
00ea2b0dc6
staging: gdm724x: fix returning -1 with return equivalent errors
...
As in the TODO file, use proper error codes from PM callbacks and init.
Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org >
Link: https://lore.kernel.org/r/20241007211124.170540-1-rodrigo.gobbi.7@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:57:49 +02:00
Xingquan Liu
b87e5fd558
staging: rtl8712: remove parentheses after &
...
Remove parentheses after & to fix checkpatch warning
Unnecessary parentheses.
Signed-off-by: Xingquan Liu <b1n@b1n.io >
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org >
Link: https://lore.kernel.org/r/20241003070353.65998-1-b1n@b1n.io
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:57:40 +02:00
Tudor Gheorghiu
064894731c
staging: rtl8712: use kmalloc_array
...
Adhere to Linux kernel coding style.
Reported by checkpatch:
WARNING: Prefer kmalloc_array over kmalloc with multiply
+ pxmitpriv->pxmitbuf = kmalloc(NR_XMITBUFF * sizeof(struct xmit_buf), GFP_ATOMIC);
Signed-off-by: Tudor Gheorghiu <tudor.reda@gmail.com >
Reviewed-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/ZvBy2lB_ok_OCmVI@redaops
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:55:51 +02:00
Sergio Paracuellos
c1a5060ec8
staging: Switch back to struct platform_driver::remove()
...
After commit 0edb555a65 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.
Convert all staging drivers to use .remove(), with the eventual goal to
drop struct platform_driver::remove_new(). As .remove() and .remove_new()
have the same prototypes, conversion is done by just changing the structure
member name in the driver initializer.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com >
Link: https://lore.kernel.org/r/20241001085751.282113-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:54:53 +02:00
Uwe Kleine-König
d09d348596
staging: olpc_dcon: Drop explicit initialization of struct i2c_device_id::driver_data to 0
...
These drivers don't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize this member.
This prepares putting driver_data in an anonymous union which requires
either no initialization or named designators. But it's also a nice
cleanup on its own.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com >
Link: https://lore.kernel.org/r/20240920153430.503212-16-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:54:49 +02:00
Uwe Kleine-König
b5b7a2c923
staging: most: i2c: Drop explicit initialization of struct i2c_device_id::driver_data to 0
...
These drivers don't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize this member.
This prepares putting driver_data in an anonymous union which requires
either no initialization or named designators. But it's also a nice
cleanup on its own.
While touching the initializer, also remove the comma after the sentinel
entry.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com >
Link: https://lore.kernel.org/r/20240920153430.503212-15-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:54:47 +02:00
Dominik Karol Piątkowski
302b4a0f5f
staging: vt6655: s_uGetDataDuration: Fix declaration formatting
...
This patch fixes formatting of s_uGetDataDuration function declaration.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-15-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
7e471dddda
staging: vt6655: s_uGetDataDuration: Rename uNextPktTime variable
...
This patch renames uNextPktTime to next_pkt_time in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-14-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
1b0ab3e5b4
staging: vt6655: s_uGetDataDuration: Rename uAckTime variable
...
This patch renames uAckTime to ack_time in s_uGetDataDuration function
in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-13-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
90005d8525
staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable
...
This patch renames bLastFrag to last_frag in s_uGetDataDuration function
in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-12-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
99084e9936
staging: vt6655: s_uGetDataDuration: Rename byFBOption parameter
...
This patch renames byFBOption to fb_option in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-11-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
71a63719ea
staging: vt6655: s_uGetDataDuration: Rename uMACfragNum parameter
...
This patch renames uMACfragNum to mac_frag_num in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-10-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
b8ba62bfc5
staging: vt6655: s_uGetDataDuration: Rename cbLastFragmentSize parameter
...
This patch renames cbLastFragmentSize to last_fragment_size in
s_uGetDataDuration function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-9-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:44 +02:00
Dominik Karol Piątkowski
2ecc3fe863
staging: vt6655: s_uGetDataDuration: Rename uFragIdx parameter
...
This patch renames uFragIdx to frag_idx in s_uGetDataDuration function in
order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-8-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
b15914b713
staging: vt6655: s_uGetDataDuration: Rename bNeedAck parameter
...
This patch renames bNeedAck to need_ack in s_uGetDataDuration function
in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-7-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
f47fff8b55
staging: vt6655: s_uGetDataDuration: Rename wRate parameter
...
This patch renames wRate to rate in s_uGetDataDuration function in order
to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-6-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
3bea8179a5
staging: vt6655: s_uGetDataDuration: Rename byPktType parameter
...
This patch renames byPktType to pkt_type in s_uGetDataDuration function
in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-5-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
d56397f1eb
staging: vt6655: s_uGetDataDuration: Rename cbFrameLength parameter
...
This patch renames cbFrameLength to frame_length in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-4-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
0d90f4f792
staging: vt6655: s_uGetDataDuration: Rename byDurType parameter
...
This patch renames byDurType to dur_type in s_uGetDataDuration function
in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-3-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
ad43c5c60c
staging: vt6655: s_uGetDataDuration: Rename pDevice parameter
...
This patch renames pDevice to priv in s_uGetDataDuration function in
order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240918191959.51539-2-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:43 +02:00
Dominik Karol Piątkowski
09b869177b
staging: vt6655: rxtx.c: Fix too long lines in get_rtscts_time
...
This patch fixes the lines exceeding 100 columns in get_rtscts_time
function.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/20240918165052.30386-1-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:39 +02:00
Dominik Karol Piątkowski
95a85744bf
staging: vt6656: Update maintainer in TODO
...
Commit ed394dbf53 replaced Forest Bond
with Philipp Hortmann as vt665X maintainer in MAINTAINERS, but
drivers/staging/vt6656/TODO was not changed, rendering it stale. This
patch fixes it.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com >
Link: https://lore.kernel.org/r/20240917171937.22801-1-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:50:33 +02:00
Manuel Quintero F
41ffdb8faa
staging: rtl8723bs: core: rtw_cmd: Missing a blank line after declarations
...
Fix checkpatch: WARNING: Missing a blank line after declarations
Signed-off-by: Manuel Quintero F <sakunix@yahoo.com >
Link: https://lore.kernel.org/r/20241005233308.4520-1-sakunix@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:49:09 +02:00
Philipp Hortmann
d8aa437cb8
staging: rtl8723bs: Remove function pointer disable_interrupt
...
Remove function pointer disable_interrupt and use
DisableInterrupt8723BSdio directly to increase readability.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/fee97dadc88bbdaebd82c99d0b6106d58315bd85.1727966761.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:48:53 +02:00
Philipp Hortmann
4178941300
staging: rtl8723bs: Remove function pointer enable_interrupt
...
Remove function pointer enable_interrupt and use
EnableInterrupt8723BSdio directly to increase readability.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/728827e155bdcd9951683e485d789d60bc203815.1727966761.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:48:53 +02:00
Philipp Hortmann
babb045cc3
staging: rtl8723bs: Remove function pointer read_adapter_info
...
Remove function pointer read_adapter_info and use
ReadAdapterInfo8723BS directly to increase readability.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/24eec4df528051fee3cf850308e009f114e14288.1727966761.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:48:53 +02:00
Philipp Hortmann
f6faa9db0f
staging: rtl8723bs: Remove function pointer intf_chip_configure
...
Remove function pointer intf_chip_configure and use
rtl8723bs_interface_configure directly to increase readability.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/d542f172438c333c015b87376a20645eeeae1b99.1727966761.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:48:53 +02:00
Philipp Hortmann
218fcc250b
staging: rtl8723bs: Remove function pointer init_default_value
...
Remove function pointer init_default_value and use
rtl8723bs_init_default_value directly to increase readability.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Link: https://lore.kernel.org/r/d0bb58235d54d1c7e4806c5ea3a50dbf77c293e7.1727966761.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-10-09 11:48:53 +02:00