Add support for IPA5.1 to use different ep
configuration for Waipio.
Change-Id: I9d478d46bae87c0fed8dee4e600fd3d80538b032
Signed-off-by: Chaitanya Pratapa <[email protected]>
Signed-off-by: Michael Adisumarta <[email protected]>
The dbg_event function call in dwc3_msm_remove after the
child dwc3 device is removed is resulting in use after
free of dwc_ipc_log_ctx.
Even though the dwc_ipc_log_ctx is set to NULL in
dwc3_remove, the value is reset once the core platform
device is removed because the dwc3 is allocated using
devm_kzalloc. This call ensures that the memory is freed
up once the device driver is de-registered.
Fix this by calling the dbg_event before de-registering
the core driver.
Change-Id: Ib2cc3d233ea0fd4a1523cae23f57d3cb3753a53f
Signed-off-by: Sriharsha Allenki <[email protected]>
If a gadget provides "OS descriptors" from the userspace then composite
gadget driver designates only one configuration which has OS descriptor
support to be used always with the hosts. With this we are seeing
enumeration issues in multi-config compositions where device does not
allowing Host to identify preferred configuration to choose.
Hence change the logic in config_desc for handling OS descriptor
configuration.
Change-Id: I5daa7631f9f2d634ee6b4b377b8d66283b21a497
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
With multi-config compositions some hosts can bind the configuration
incorrectly and sending os descriptor request on invalid interface.
This could cause accessing NULL pointer and results in panic.
Fix this by bailing out from the OS descriptor setup request handling
if the interface is NULL.
Change-Id: I65f01b876a46b907eb883e48878fc081860b0753
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
Add code to download bdf from device specific path, if the
file is not present then it returns error.
Change-Id: I6358be8a9e09c0caa5f4478d08f1959e0a0f1c44
Signed-off-by: Mohammed Siddiq <[email protected]>
Currently in f_cdev driver, we are not handling the TIOCM_CTS
signal generared by SIO_IOCTL_INBOUND_FLOW IOCTL. Hence we
are not able to send BRK signal to the host and it keeps
sending data leading to data loss.
Fix this by handling TIOCM_CTS in the driver.
Change-Id: If8e4774e3e0772cb7189f3400d7e53e258b7d5a3
Signed-off-by: Ajay Agarwal <[email protected]>
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
The commit <d30948cecd> (netfilter: Changes to handle segmentation in
SIP ALG) breaks the build by defining the last argument of the function,
sip_tcp_skip_process (s16 *tdiff) incorrectly. Hence, fix the type by
changing it to a variable.
Change-Id: I5a336bd7aa47a649c24d7c34090f138b2e772bdc
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
There is a race possibility in android_disconnect and
configfs_composite_unbind while using cdev leading to a NULL pointer
dereference in composite_disconnect. Combine android_disconnect with
configfs_composite_disconnect and remove the android_disconnect function.
configfs_composite_disconnect already has a gi->spinlock in place to
prevent the race condition.
Change-Id: Idfdebaf69f3aa68d90b55bffd7c2e04410c5a47f
Signed-off-by: Ronak Vijay Raheja <[email protected]>
By default, the system firmware enables the mpm wakeup functionality
of all the supported GPIOs. However, certain usecases demand that
this capability be disabled on certain gpios. Hence, provide a
generic interface to disable the GPIOs as needed.
Change-Id: Ib36569d422d2336a81d71e451ef47196c956c3a5
Signed-off-by: Mukesh Ojha <[email protected]>