net: usb: Do not modify usbnet device context upon rx complete

Upon rx completion, the driver parses the mux header to identify
the actual net device the IP packet is intended for. At this point
the driver also modifies the usbnet device context to a new usbnet
device, which is derived from the associated IP mux header. This
causes the rx skb queue list corruption when skb is moved
incorrectly from new usbnet device's rx skb queue. Hence do not
overwrite the original usbnet device instance which is required
to move skb from rx skb queue to done queue.

CRs-Fixed: 598321
Change-Id: I642f877dd2f758ddbb868de986dd223bad10eee9
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Merge "Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.02.007.028 on remote branch"
Merge "diag: Reduce error message frequency"
Merge "Rotator getting stuck leading to fence timeout"
diag: Reduce error message frequency

Some diag error messages are printed with high frequency. This
cause flooding of kernel logs. Rate limiting these messages will
help reading kernel logs.

Change-Id: I477ff2394116603a27d65948a60d3460c32572d1
CRs-fixed: 594186
Signed-off-by: Katish Paran <kparan@codeaurora.org>
Rotator getting stuck leading to fence timeout

Even though cancel_delayed_work should cancel the worker thread
in some race condition it can fail and get scheduled.
To avoid this situation use cancel_delayed_work_sync.
Also rotator_lock mutex need not be unlocked while waiting for isr
as isr does not aquire this mutex for doing its operations.
It is after this unlock of mutex sometimes in race condition rotator
clock is getting disabled via the msm_rotator_rot_clk_work_f

Change-Id: I574aec489fe51ec0e5f7c215c9aba9bb0ec66ffa
Signed-off-by: Justin Philip <jphili@codeaurora.org>
msm:camera: Disable/enable VFE write masters properly during overflow

Disable write masters during VFE reset and enable them when recovery
is in progress. This would avoid unnecessary page faults.

Change-Id: If894aa6298440673b9d6dc4aa0b5a791fa0fe661

Signed-off-by: Alok Kediya <kediya@codeaurora.org>
Merge "Rotator getting stuck leading to fence timeout"
Merge "msm:camera: Disable/enable VFE write masters properly during overflow"
Merge "diag: Reduce error message frequency"
Merge "kernel/msm: Add qrngp header file"
Merge "Merge "Rotator getting stuck leading to fence timeout""
Merge "Merge "Merge "Rotator getting stuck leading to fence timeout"""
Merge "Merge "kernel/msm: Add qrngp header file""
Merge "Merge "Merge "kernel/msm: Add qrngp header file"""
Merge "msm: kgsl: Fix mem leak when page allocation fails"
Merge "net: usb: Do not modify usbnet device context upon rx complete"
Merge "Merge "net: usb: Do not modify usbnet device context upon rx complete""
Merge "Merge "Merge "net: usb: Do not modify usbnet device context upon rx complete"""
msm_serial_hs: Discard Clock On/Off request after Port Close

Adding defencive mechanism to overcome the kernel cash,
when Client Driver is trying to call Clock ON/Clock OFF
request after UART port is closed.

CRs-Fixed: 591156
Change-Id: Ia97abdbe89544b139ecd4d26238cb5d6c2f69adb
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>