Do not aggregate frames if they are sapced out more than 10ms. Since the
scedule_delayed_work() API only takes time in jiffies, ping packets
are getting substantially delayed. Instead, just send them. This parameter
is tunable from the module parameters location.
CRs-Fixed: 772705
Change-Id: I6ac337c8d61b1290f939b86081070c14c2c757b1
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Accumulation logic now respects max packet count as well as buffer size.
Additionally, packets will get shipped if they have been sitting around
for more than 1ms. This parameter is tunable from the module parameters
location.
CRs-Fixed: 772705
Change-Id: I1b5cb597ef6adfe19df590582f9a6cae091c5977
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Enable SELinux, and the necessary dependencies to allow userspace
SELinux support to be used on these targets.
Change-Id: I6ebfbb55ed179473032cfa968d7243528960e4a3
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
When CMA allocation fails because of any pending
signals, we clear off pfn and bit map before
returning back. While clearing off the bitmap,
we still use the pfn info so, clear pfn only
after bitmap is cleared.
CRs-fixed: 772299
Change-Id: I94e566181f75b7c8ebdab7d29437e5fca5f3fbdc
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Add clock lookup table for mobicore driver for MSM8909.
Change-Id: If141c8de6cf66f2f01666f0595a9052063a91436
Signed-off-by: Mao Li <maol@codeaurora.org>
Dump IRIS register during Wdog bite and sending FIQ to confirm
if XO enable command was ever received or not.
Add debug log when SMD msg header is unavialable completely.
Change-Id: I0a6b2c4d3db5c12e340e08c4572bde91f94d0189
CRs-Fixed: 769672
Signed-off-by: Anand N Sunkad <asunka@codeaurora.org>
Sensor minimum and maximum polling rates are limited by its
driver. This change updates these two values that allow the
sensor to run at range from 0.25Hz to 200Hz.
Change-Id: Iac7de3e41a1d51637a453c692fd6779fbf9128c3
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Accelerated DPL uses BAM2BAM IPA path for DPL data transfer
over USB IN endpoint. Hence add required USB BAM pipe configuration
to use with it.
Change-Id: Ib43e675ac12368d7d89fd1537d455ed1df7e592b
Signed-off-by: Azhar Shaikh <azhars@codeaurora.org>
Once the input device is successfully registered via
input_register_device(), it has to be unregistered via
input_unregister_device(); input_free_device()
should not be called in this case. input_unregister_device()
frees the input device, hence the call to input_free_device()
is a double free. This is also described in comments of
input_unregister_device().
Reorganize the code to avoid a double free.
Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2
Signed-off-by: Mao Li <maol@codeaurora.org>
Commit 80c2ae8343 ("drivers: usb: dwc3: Remove xfer timer when going
to suspend") has dis-arm timer on bus suspend. Hence case where all
USB requests are queued at time of USB bus suspend and on resume there
is no request available to queue with USB controller, this timer is
not being re-arm. This results into temporarily data stall in UL as
controller is receiving sent data packets from host but software is
not receiving any completion on that bulk-out endpoint.
Also add macro to get bulk transfer timeout value in nanoseconds.
CRs-Fixed: 771888
Change-Id: I9f126b2ced15f3d7dcc93798c00c91f397a24302
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
If irq raises while sched_irqload() is calculating irqload delta,
sched_account_irqtime() can update rq's irqload_ts which can be greater
than the jiffies stored in sched_irqload()'s context so delta can be
negative. This negative delta means there was recent irq occurence.
So remove improper BUG_ON().
CRs-fixed: 771894
Change-Id: I5bb01b50ec84c14bf9f26dd9c95de82ec2cd19b5
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
LAB/IBB regulator support both LCD and Amoled mode
for display panel. Enable LCD mode LAB/IBB for FLUID
and LIQUID.
CRs-Fixed: 741388
Change-Id: Id475ac7b6937acdeaf520a51d4af77afea90b995
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
There is a bug in the driver where the aicl interrupt was requested to
be wake enabled even before it was requested. This causes the wake
status flag to be out of sync with the actual interrupt wake status.
Fix this by ensuring that the wake operations on the interrupt happen
after requesting it.
Change-Id: Iecba46d61dcde7111ef42effd370d4c7ca04a688
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Before calling ufshcd_send_command() the host spinlock is taken.
In case error is returned ufshcd_release_all() is called, which
in turn attempts to lock the host spinlock again.
Unlocked the host spinlock in case error was returned to
prevent the spinlock recursion.
Change-Id: I630ac8b901f03285a37547bfbcd49ec575e7545a
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>