Update gpio settings as per HW VI audio
values. Also move common settings of external
and internal codecs to new files.
Change-Id: I0d3e0878972038a7876a063648156126b2a7cee4
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
rc could be returned without being initialized. Initialize it.
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I044f74c7853e6853ae41734a95a4d86569c60457
pos is incremented by bytes_read which could exceed the boundary of
kbuf. Fix this by checking the bounds of pos.
resched_ms is used when uninitialized. Initialize it.
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I3a01d59bb5ed53666307a5210a684c7d9fd654fc
param_type is used for array access before the boundary check. Check the
boundary before using param_type.
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I3d1fb4ada3182c533e5b937717962dc513837e78
Because of recently introduced kernel change, previous change to
unlock mutex is not required as HID device addition is now done in
worker thread instead of main thread. Previous code flow was blocking
as uhid_hid_set_report was called from main thread which is not the
case now. Previous code flow was
uhid_char_write->uhid_dev_create2->uhid_hid_raw_request->
uhid_hid_set_report->__uhid_report_queue_and_wait->
wait_event_interruptible_timeout which is now changed to
uhid_char_write->uhid_dev_create2.
CRs-Fixed: 1112380
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
Change-Id: I11c3e5628484739acc208deff84a82f34b1b7beb
11ad device supports 48 bit addresses, reflect that
by setting the dma mask accordingly to be able to
map skbs using 48 bits.
HW has limitation that all vrings should share the same
msb bits out of the 48 bits address. To overcome that,
for vrings mapping use 32 bit addresses only.
Change-Id: I7f710129ba61356f7f29ec69c885f60a31246151
CRs-Fixed: 1109659
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
IPA needs to be kept disabled in SDA630 APQ platform.
Change-Id: I26831c989edee3f94f6cbafbb9955d669c546442
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
External gcc clock is operating in 2x,
IPA clock to be in sync up with gcc clock,
enable 2x fast clock in IPA.
Change-Id: I47dc00452c7a52c967838ee0c4db6eaf754e5ae6
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Fix the DSI TE vsync gpio function name for sdm660 target as
per pinctrl framework.
Change-Id: Ie411514e5ce1f1d98cb205be17f51834917bf4b5
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Add QPDI support for sdm660. QPDI is used for
PMIC debug interface through SD card slot.
CRs-fixed: 1112330
Change-Id: I265be6186f43c60e552d026fda3b71f491c61d9f
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
The regulator resource names for PM660L S3(CX) and PM660L S5(MX)
needs to be "rwcx" and "rwmx" respectively. Fix it.
Change-Id: I83670ad15bd53647d00d8c3c50b7d45174d7ddd1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Add device tree support for QRD630 EVT2 SKU1 board.
Change-Id: I8cea2b9b0995905297d69951694178dccfea65f7
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>