This patch moves the ALSA sound driver out of the staging area and adds it
to the stable part of the MOST driver. Modifications to the Makefiles and
Kconfigs are done accordingly to not break the build.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
This patch checks the function parameter 'bytes' before doing the
subtraction to prevent memory corruption.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
v2: change if condition to avoid difference of subtraction becomes negative.
drivers/staging/most/sound/sound.c | 2 ++
1
This patch zero checks the function parameter 'bytes' before doing the
subtraction to prevent memory corruption.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/sound/sound.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/most/sound
This patch replaces the safe list iteration function with the
non-safe one, as no list element is being deleted.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/sound/sound.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
This patch set fixes two problems found during code audit.
Christian Gromm (2):
staging: most: sound: add sanity check for function argument
staging: most: sound: use non-safe list iteration
drivers/staging/most/sound/sound.c | 6 --
1 file changed, 4 insertions(+), 2 deletions
This patch moves the ALSA sound driver out of the staging area and adds it
to the stable part of the MOST driver. Modifications to the Makefiles and
Kconfigs are done accordingly to not break the build.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
This patch makes use of the swab16() and swab32() functions available
in the kernel instead of using own implementations.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2: added 'Reported-by:' tag
drivers/staging/most/sound/sound.c | 14 ++
1 file changed, 2
This patch makes use of the swab16() and swab32() functions available
in the kernel instead of using own implementations.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/drivers/staging
This patch moves the ALSA sound driver out of the staging area and adds it
to the stable part of the MOST driver. Modifications to the Makefiles and
Kconfigs are done accordingly to not break the build.
Signed-off-by: Christian Gromm
---
drivers/most/Kconfig| 10 +
drivers/most
This patch adds the character device (cdev) driver source file
most_cdev.c and modifies the Makefiles and Kconfigs accordingly.
Signed-off-by: Christian Gromm
---
drivers/most/Kconfig | 9 +
drivers/most/Makefile | 1 +
drivers/most/most_cdev.c | 543
This patch adds the character device (cdev) driver source file
most_cdev.c and modifies the Makefiles and Kconfigs accordingly.
Signed-off-by: Christian Gromm
---
drivers/most/Kconfig | 9 +
drivers/most/Makefile | 1 +
drivers/most/most_cdev.c | 543
This patch adds the USB driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch adds the USB driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch adds the USB driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch removes the dependency to NET as it is no longer needed.
Signed-off-by: Christian Gromm
---
drivers/staging/most/usb/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/most/usb/Kconfig b/drivers/staging/most/usb/Kconfig
index 75dc25c
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
The interface pointer passed to a component API function cannot be NULL.
This patch removes the unnecessary sanity check of this argument.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/most/sound
This patch removes unnecessary empty lines.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 15 ---
1 file changed, 15 deletions(-)
diff --git a/drivers/staging/most/sound/sound.c
b/drivers/staging/most/sound/sound.c
index 467faa1..7c56cdb 100644
This patch returns the proper values when reporting an error
to the caller.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/most/sound/sound.c
b/drivers/staging/most/sound
Patch set to clean up code and fix issues.
Christian Gromm (5):
staging: most: sound: remove noisy log messages
staging: most: sound: fix error path
staging: most: sound: fix return values
staging: most: sound: fix white spaces
staging: most: sound: remove overcautious argument checking
This patch removes unnecessary log messages to avoid noise
in the kernel log.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 24
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/most/sound/sound.c
b/drivers/staging
Return error and exit the function in case registering the component
with the core is failing.
Signed-off-by: Christian Gromm
---
drivers/staging/most/sound/sound.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/most/sound/sound.c
b/drivers/staging/most
Patch set to fix minor issues and improve things a little.
Christian Gromm (6):
staging: most: cdev: remove noisy log messages
staging: most: cdev: use dev_*() functions to print messages
staging: most: cdev: remove overcautious parameter checking
staging: most: cdev: fix up
This patch makes use of the proper return values when reporting
an error to the caller.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev
This patch removes unnecessary log messages to avoid
noise in the kernel log.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 26 ++
1 file changed, 6 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging
This patch removes the pr_*() functions and uses dev_*() instead.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index
This patch uses a less confusing list traversing structure to
either return an item of the list that meets the prerequisites
or NULL otherwise.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
This patch removes unnecessary parnthesis.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index 9fc84fa..d374cc0 100644
--- a/drivers
The interface pointer passed to a component API function cannot be NULL.
This patch removes unnecessary sanity checks of the pointer.
Signed-off-by: Christian Gromm
---
drivers/staging/most/cdev/cdev.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/staging
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch avoids returning an uninitialized value in the default
path of the switch expression.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch uses the -EINVAL return code where -EFAULT is wrongly being
used.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging
This patch makes it transparent whether the function is exiting
with an error or successful.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b
or 1. The replacement is more simple and
less confusing when reading the code.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers
This patch swaps the arguments of function get_stream_frame_size to
have the struct device as first parameter.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers
This patch makes function drci_rd_reg return 0 in case of success
and a negative number else. As no caller is evaluating the number
of bytes transferred by function usb_control_msg this information is
being omitted.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging
This patch returns 0 instead of variable in case of invalid parameter
has been passed to function to increase readability.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This patch adds the missing put_device() function calls to
properly free allocated resources and maintain reference counts.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/most
This patch replaces function strcmp() with sysfs_streq() to compare
strings provided via sysfs.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/most/usb
This series fixes the comments received from the mailing list.
Christian Gromm (10):
staging: most: usb: change order of function parameters
staging: most: usb: don't use expressions that might fail in a
declaration
staging: most: usb: change return value of function drci_rd_reg
This patch moves function calls that can fail out of the declararion block
of a function body. This is done to enhance readability.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most/usb/usb.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff
This patch puts the call to usb_alloc_urb() before the critical
section starts that is protected with the io_mutex lock. This is
to make the section as short as possible and to use the regular
GFP_KERNEL flag.
Signed-off-by: Christian Gromm
Reported-by: Dan Carpenter
---
drivers/staging/most
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch makes use of the macro ATTRIBUTE_GROUPS to create the groups
instead of defining them manually.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
v3:
drivers/staging/most/usb/usb.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git
This patch removes the reference to the driver API file for USB error
codes.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
removed copied USB error code section
v3:
drivers/staging/most/usb/usb.c | 97 --
1 file changed
This patch fixes the ABI description file sysfs-bus-most.
Signed-off-by: Christian Gromm
---
v2:
v3:
Documentation/ABI/testing/sysfs-bus-most | 104 ---
1 file changed, 53 insertions(+), 51 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-most
b
This patch removes the pr_*() functions and uses dev_*() instead.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
v3:
drivers/staging/most/usb/usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
v3:
- initialize return variable
Reported-by: kbuild test robot
This series fixes the comments/findings on the previously submitted code
of the USB adapter driver. The fixes should be applied in staging before
moving the driver out as one patch.
v2:
modded patch 2/7
v3:
modded patch 3/7
Christian Gromm (7):
staging: most: usb: use dev_
This patch replaces the functions dev_notice with dev_dbg to silence
the driver during normal operation.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
v3:
drivers/staging/most/usb/usb.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions
This patch corrects the typo in the Kconfig file where it says
tranceiver instead of transceiver.
Signed-off-by: Christian Gromm
Reported-by: Randy Dunlap
---
v2:
v3:
drivers/staging/most/usb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/usb
This patch makes use of the macro ATTRIBUTE_GROUPS to create the groups
instead of defining them manually.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/staging/most/usb/usb.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git
This patch removes the reference to the driver API file for USB error
codes.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
removed copied USB error code section
drivers/staging/most/usb/usb.c | 97 --
1 file changed, 97
This patch fixes the ABI description file sysfs-bus-most.
Signed-off-by: Christian Gromm
---
v2:
Documentation/ABI/testing/sysfs-bus-most | 104 ---
1 file changed, 53 insertions(+), 51 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-most
b
This patch removes the pr_*() functions and uses dev_*() instead.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/staging/most/usb/usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers
This patch corrects the typo in the Kconfig file where it says
tranceiver instead of transceiver.
Signed-off-by: Christian Gromm
Reported-by: Randy Dunlap
---
v2:
drivers/staging/most/usb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/usb
This patch replaces the functions dev_notice with dev_dbg to silence
the driver during normal operation.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/staging/most/usb/usb.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff
This series fixes the comments/findings on the previously submitted code
of the USB adapter driver. The fixes should be applied in staging before
moving the driver out as one patch.
v2:
modded patch 2/7
Christian Gromm (7):
staging: most: usb: use dev_*() functions to print messages
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/staging/most/usb/usb.c | 13 ++---
1 file changed, 6
This patch removes the pr_*() functions and uses dev_*() instead.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 13 ++---
1 file changed, 6 insertions
This patch fixes the ABI description file sysfs-bus-most.
Signed-off-by: Christian Gromm
---
Documentation/ABI/testing/sysfs-bus-most | 104 ---
1 file changed, 53 insertions(+), 51 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-most
b/Documentation
This patch replaces the functions dev_notice with dev_dbg to silence
the driver during normal operation.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging
This patch corrects the typo in the Kconfig file where it says
tranceiver instead of transceiver.
Signed-off-by: Christian Gromm
Reported-by: Randy Dunlap
---
drivers/staging/most/usb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/usb/Kconfig b
This patch removes the reference to the driver API file for USB error
codes.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
This series fixes the comments/findings on the previously submitted code
of the USB adapter driver. The fixes should be applied in staging before
moving the driver out as one patch.
Christian Gromm (7):
staging: most: usb: use dev_*() functions to print messages
staging: most: usb: remove
This patch makes use of the macro ATTRIBUTE_GROUPS to create the groups
instead of defining them manually.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/drivers
This series moves the USB adapter driver to the stable branch and fixes
the comments/findings on the submitted code.
v2:
- create a patch set to address the comments on submitted code
Christian Gromm (8):
drivers: most: add usb adapter driver
drivers: most: usb: use dev_*() functions
This patch adds the usb driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.
Signed-off-by: Christian Gromm
---
v2:
Reported-by: Greg Kroah-Hartman
- don't remove usb driver from staging area
- don't touch staging/most/Kconfig
- remove
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/most/most_usb.c | 13 ++---
1 file changed, 6 insertions(+), 7
This patch fixes the ABI description file sysfs-bus-most.
Signed-off-by: Christian Gromm
---
v2:
Documentation/ABI/testing/sysfs-bus-most | 104 ---
1 file changed, 53 insertions(+), 51 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-most
b
This patch removes the reference to the driver API file for USB error
codes.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/most/most_usb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/most/most_usb.c b/drivers/most/most_usb.c
index 0846b38
This patch makes use of the macro ATTRIBUTE_GROUPS to create the groups
instead of defining them manually.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/most/most_usb.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/drivers
This patch removes the pr_*() functions and uses dev_*() instead.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/most/most_usb.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/most/most_usb.c b/drivers/most
This patch corrects the typo in the Kconfig file where it says
tranceiver instead of transceiver.
Signed-off-by: Christian Gromm
Reported-by: Randy Dunlap
---
v2:
drivers/most/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/most/Kconfig b/drivers/most
This patch replaces the functions dev_notice with dev_dbg to silence
the driver during normal operation.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
v2:
drivers/most/most_usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/most
This patch adds the MOST USB adapter driver to the stable branch. This is
a follow-up to commit .
Signed-off-by: Christian Gromm
---
drivers/most/Kconfig |6 +
drivers/most/Makefile |2 +
drivers/most/usb/Kconfig | 14 +
drivers/most/usb/Makefile |4
This patch adds the implementation of the PM functions resume and suspend.
Signed-off-by: Christian Gromm
---
drivers/staging/most/usb/usb.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
index
This patch removes the unlikely macros in the error patch of argument
checking, as it has no measurable performance adavantage.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions
The interface pointer passed to a core API function cannot be NULL. This
patch removes unnessecary the sanity check of the pointer.
Signed-off-by: Christian Gromm
Reported-by: Greg Kroah-Hartman
---
drivers/staging/most/usb/usb.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions
This patch replaces the error code EIO with EINVAL, when there is no IO
happening.
Signed-off-by: Christian Gromm
---
drivers/staging/most/usb/usb.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
This patch set consolidates the source code appearance by rearranging or
removing unnecessary code and makes use of error codes that better signal
the exception.
Christian Gromm (4):
staging: most: usb: remove overcautious parameter checking
staging: most: usb: use EINVAL error code
staging
This patch applies the same look and feel when assigning local variables.
Signed-off-by: Christian Gromm
---
drivers/staging/most/usb/usb.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
index 62d773c
This patch fixes error handling on function parameters.
Signed-off-by: Christian Gromm
---
drivers/staging/most/usb/usb.c | 33 +
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c
index
This patch moves the MOST USB adapter driver to the stable branch.
It is a follow-up to commit .
Signed-off-by: Christian Gromm
---
drivers/most/Kconfig| 6 ++
drivers/most/Makefile | 2 ++
drivers/{staging => }/most/usb/Kconfig | 0
drivers/{stag
@@ static void __exit most_exit(void)
ida_destroy(_id);
}
-module_init(most_init);
+subsys_initcall(most_init);
module_exit(most_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Christian Gromm ");
--
2.7.4
___
d
)
ida_destroy(_id);
}
-module_init(most_init);
+subsys_initcall(most_init);
module_exit(most_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Christian Gromm ");
--
2.7.4
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.li
This patch moves the core module to the /drivers/most directory
and makes all necessary changes in order to not break the build.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
drivers/Kconfig| 1 +
drivers/Makefile
This patch updates the ABI description files to be in sync
with current implementation.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
.../most/Documentation/ABI/configfs-most.txt | 8
.../most/Documentation/ABI/sysfs-bus-most.txt | 24
This patch moves the ABI description fils sysfs-bus-most and
configfs-most to the kernel's documentation folder.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
.../ABI/configfs-most.txt => Documentation/ABI/testing/configfs-most | 0
.../ABI/sysfs-bus-most.
Christian Gromm (3):
staging: most: move core files out of the staging area
staging: most: Documentation: update ABI description
staging: most: Documentation: move ABI description files out of
staging area
.../ABI/testing/configfs-most | 8
.../ABI
This patch updates the ABI description files to be in sync
with current implementation.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
.../most/Documentation/ABI/configfs-most.txt | 8
.../most/Documentation/ABI/sysfs-bus-most.txt | 24
This patch moves the ABI description fils sysfs-bus-most and
configfs-most to the kernel's documentation folder.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
.../ABI/configfs-most.txt => Documentation/ABI/testing/configfs-most | 0
.../ABI/sysfs-bus-most.
This patch moves the core module to the /drivers/most directory
and makes all necessary changes in order to not break the build.
Signed-off-by: Christian Gromm
---
v2:
v3:
v4:
v5: rebased and adapted
drivers/Kconfig| 1 +
drivers/Makefile
Christian Gromm (3):
staging: most: move core files out of the staging area
staging: most: Documentation: update ABI description
staging: most: Documentation: move ABI description files out of
staging area
.../ABI/testing/configfs-most | 8
.../ABI
race condition
- fix logging behaviour
- fix possible NULL pointer dereference
Christian Gromm (10):
staging: most: remove device from interface structure
staging: most: core: drop device reference
staging: most: remove struct device core driver
staging: most: core: remove
This patch makes the adapter drivers use their own device structures
when registering a most interface with the core module.
With this the module that actually operates the physical device is the
owner of the device.
Signed-off-by: Christian Gromm
---
v4:
This patch has beed added
of a link that already has been destroyed.
Signed-off-by: Christian Gromm
---
v4:
This patch has been added to the series
drivers/staging/most/configfs.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/most/configfs.c b/drivers
1 - 100 of 783 matches
Mail list logo