Bluetooth : RFCOMM Frame size change

RFCOMM Frame size changes to accomodate the credits in the data packet.
Earlier implementation was not considering the 1 Byte required for
Credits information in data packet and hence was considering the
RFCOMM header plus FCS as 5 Bytes.
Because of this if the remote device sends a data packet with
negotiated frame size and credits information,packet size exceeds L2CAPMTU
and will be discarded by L2CAP.

CRs-fixed: 303518

Signed-off-by: Mallikarjuna GB <gbmalli@codeaurora.org>
(cherry picked from commit 9e11a746831fbe42c78efeef234f30cca93537f5)

Change-Id: I6483d7bef8aa9fe1be23771e9f42fb3f0265af0c
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
Bluetooth: Fix kernel hci_dev_open timeout reset

    Handle -EALREADY error in hci_sock of hci_dev_open as indication that
    the HCI device is already open. This was causing reset inducing timeout,
    and removed unused/useless check of failure in power-up code.

    Signed-off-by: Brian Gix <bgix@codeaurora.org>
    (cherry picked from commit 9bb9d38e700c8deb08f6347f43be250b9ec9e3be)

    Change-Id: Id42c5acf37bb5657c898fb358bc2f45621ea5044
    Signed-off-by: Oguri, Srivalli <oguri@codeaurora.org>
vidc: 720p: Handle profile unknown as bitstream error.

For corrupted VOL header in the middle of playback
core is returning UNKNOWN PROFILE error and is being
treated as Fatal error and playback is getting aborted.
Now handling it as sequence header fail/recoverable
error.
vidc: 720p: Memset MPEG-4 recon buffers to black

In the case of MPEG-4 decoding with clips which have
initial frames starting with P-VOPs, green macroblocks
are seen. This is because of recon buffers used for
MPEG-4 have 0 preset values. The default values are
changed to 0x10 & 0x80 for luma and chroma to get
default color as black.
vidc: vdec: Fix 720p driver memory alloc failure handling.

When memory allocation fails, driver should gracefully close
the session.
vidc: 720p:Increased the default input buffer size

    Increased the default input buffer size from half-frame size
    to three fourth of frame size.

    CRs-Fixed: 294663

    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
    (cherry picked from commit 08fd174f02cc8001d1da38b5db2386cca542a2ee)

    Change-Id: Ie65250e5d9af131dc0c8b2dbae85c83ddc5caec1
    Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: vidc: Fix performance level computation

The required performance level is rounded off to the incorrect
value due to the order of execution of the operations. Fixed
the issue by ensuring correct order of execution when computing
this value.

Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
(cherry picked from commit c9fc55be6efdd5518618f64f9a658619e86d5139)

Change-Id: I46350ef37d4549e882d90a9063841f4e39292ed2
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
vidc: 720p: Add IDR Frame type support for H264 format - CodeAurora

Read IDR frame type from 720p core register set and
propagate it to user space using new IDR frame type
enumeration added in api header file. The IDR frame
type info is used in SYNCFRAME logic for H264 format
in userspace.

CRs-Fixed: 296738
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
USB: gadget: android: Use "rndis%d" for RNDIS device name instead of "usb%d"

    Signed-off-by: Mike Lockwood <lockwood@android.com>
net: wireless: bcm4329: Prohibit FW access in case of FW crash
fix up govenors
Fix up govenors