fat: limit the number of error prints

Use fat_fs_error_ratelimit instead of fat_fs_error so as to
avoid large number of prints.

CRs-Fixed: 619824
Change-Id: I458df6c2c7a53c0902f2b388b5992007b719cb86
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
misc: qfpfuse: Fix overflow condition

Fix potential integer overflow for ioctl command to avoid incorrect
buffer allocation. Use the stack for data buffering to avoid the
small buffer allocation for improved performance. Increase the fuse
blow timeout in the driver to cover all QFPROM implementations.

CRs-Fixed: 550574,550575

Change-Id: Iee3cc1d38aa5dbf8ef693a43a0ca716fc8724c62
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
crypto: msm: ota: fix possible buffer overflow issue

This patch replaces snprintf with scnprintf to prevent
possible buffer overflow issues

CRs-Fixed: 562347

Change-Id: I56aebd24557dccc547ff86cb8853ace0602b6e50
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Merge "fat: limit the number of error prints"
Merge "misc: qfpfuse: Fix overflow condition"
Merge "crypto: msm: ota: fix possible buffer overflow issue"
msm: mdss: fix display corruption on 720p panel

The MDP dma source size should match with the panel
resolution, instead of using the overlay size which
can be different from the panel size.

Change-Id: I4c9f8ea4e0d12e739646fe3d67dad299d3b3245b
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
Merge "msm: mdss: fix display corruption on 720p panel"
ASoC: msm: Add check for both offset and index variable

-The offset and index variable may leads to array out of
boundary exception.
-Added offset and index overflow check.

Change-Id: I1f71ee595944573e85d77d2001f656bd8ba53806
CRs-fixed: 583931
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
Revert "msm: mdss: fix display corruption on 720p panel"

This reverts commit e3bf5d13784a0b3398a4e16fb9d86250c24dff06

Change-Id: I5dac3f00ef24c7f06a17708cbc05ee3d77ad74e2
msm: mdss: fix the display reset error

Increase the dma stop time out value as stopping operation
may take longer than the previous defined value. Gracefully
handle the time out condition to allow it to retry when
the next frame comes in.

Change-Id: I5120f309db2dbaeebef3b2878caa13cec17c9e1f
Signed-off-by: rayz <rayz@codeaurora.org>
Merge "Revert "msm: mdss: fix display corruption on 720p panel""
Revert "Revert "diag: Add new polling command""

This reverts commit 62a0a44a5bbf1b7f8bb1352d033ef0f9e142bbe5

Change-Id: I295c1711fc8846bf1998fe0a32db4812d781d68f
Merge "Revert "Revert "diag: Add new polling command"""
Merge "msm: mdss: fix the display reset error"
Revert "Revert "msm: mdss: fix display corruption on 720p panel""

This reverts commit 8e83a912b8170536b9375131d511f3421b78bc19

Change-Id: I627c8368063a6cbcbb9ff194c0a386de20e98f76
Merge "Revert "Revert "msm: mdss: fix display corruption on 720p panel"""
Merge "ASoC: msm: Add check for both offset and index variable"
msm: mdss: fix the error handler in DMA stop

The error handle is wrong in DMA stop, which is introduced
by f4e6d5d20829b8a72bdab47bd5c27fe90e3b7e7e.

Change-Id: I1bcfd7a5b7a1f50c44fa80e8306af2f4a7dafd65
Signed-off-by: rayz <rayz@codeaurora.org>
msm: mdss: use time out version of wait for display update

Use the time out version of wait for display update to prevent
kernel dead-lock.

Change-Id: I680f05934680191478138e6491c45d0c39f5c7ad
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
Signed-off-by: Radhika Ranjan Soni <rrsoni@codeaurora.org>