msm: qdsp5: Memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: I2ef43f64b1d31e88bc2435169632c2efc4fb9f88
CRs-Fixed: 553262
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
Merge "msm: qdsp5: Memset stack buffer allocation."
EHCI: HSIC: Handle asynchronous interrupt properly

Runtime PM resume and asynchronous interrupt can run in parallel. When
this happens, there is a possibility of PM usage counter mismatch.
Fix this by checking the return value of pm_runtime_get() and by
disabling the USB interrupt while resuming the HSIC.

Consider asynchronous interrupt case when resuming HSIC during system
resume.

CRs-Fixed: 444883
Change-Id: I315fb6cecffcea83c03037be899e3ff840791c21
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Danny Segal <dsegal@codeaurora.org>
usb: ehci-msm-hsic: Add support for ASYNC IRQ to exit LPM

Some HSIC controllers have dedicated IRQ line for ASYNC interrupts
to notify any wakeup event during low power state. Add support for
the same.

CRs-Fixed: 452718
Change-Id: I63f7b21c8306e043128e3c4cae32732a3af60e67
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Danny Segal <dsegal@codeaurora.org>
usbnet: decrease suspend count if returning -EBUSY for runtime suspend

From commit 5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe upstream.

This patch decreases dev->suspend_count in the -EBUSY failure path
of usbnet_suspend. Without the change, the later runtime suspend
will do nothing except for increasing dev->suspend_count.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: I5e1cbd39e4469150de7cc98af9517a4dbdc80780
CRs-Fixed: 404339
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Danny Segal <dsegal@codeaurora.org>
Merge "EHCI: HSIC: Handle asynchronous interrupt properly"
Merge "usb: ehci-msm-hsic: Add support for ASYNC IRQ to exit LPM"
Merge "usbnet: decrease suspend count if returning -EBUSY for runtime suspend"