In case if the destroy session is processed first it will
as a part of unlink try to drain the work queue. This will
schedule all the enqueued wq. Workqueue when scheduled
try to acquire same mutex destroy session has already acquried
this will lead to dead-lock. To avoid that, check the link
state first if it is in idle state then return from the
workqueue without trying to acquire mutex.
CRs-Fixed: 2976325
Change-Id: I57a53455c69e5f4f38c92413f9d1b7f2d06c9960
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
Currently we are publishing csiphy timer clock to other submodules who
needs to maintain the clock ratio between the submodules. This change
changes it publish the phy_rx clock as the phy clock rate.
CRs-Fixed: 2975394
Change-Id: I7331d66ebdd1e6ded0d5ac7dd6f47b4c42c2b06f
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
This changes is to detect workqueue and tasklet
scheduling and execution delay.
CRs-Fixed: 2977775
Change-Id: Ia4b4845a067c22bd1f24bd63a971d103fcfc049c
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
This change is to make Bengal camera module dynamic.
CRs-Fixed: 2977410
Change-Id: I447fa17c907c5e1993dbf86ae1347e4e15de6b30
Signed-off-by: Hongwei Ren <hongren@codeaurora.org>
While passing ab and ib value to interconnect
for conversion from BPS to ICC units wrong kernel macro is used.
Therefore use correct macro to get the proper ICC units.
In the same way, update the correct flash on active time (use div_u64
instead of do_div).
CRs-Fixed: 2971025
Change-Id: I4cd0de06bd081ea95cdc76eb74887c4d5815241a
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
Use correct Address type & data type for camera sensor probe
use the type received from sensor driver instead of hardcoding.
CRs-Fixed: 2948896
Change-Id: I3e355d86fca6a49fb96ab782213dc158f0a6ea39
Signed-off-by: Om Parkash <oparkash@codeaurora.org>
Changes are made to disable stall on pagefault
for all the driver contexts inorder to
support for smmu stall on page fault.
CRs-Fixed: 2936320
Change-Id: Id3d16b4d980349044de1bc1d1bf4bfad5aee79f4
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
- Add Regulator power up for I2C flash
- Add GPIO support in probe call for I2C flash
- Add flash type in query capability call of flash.
CRs-Fixed: 2938804
Change-Id: I7d5575ecdf4c1c3b329e6bf49586771e37611e5a
Signed-off-by: shiwgupt <shiwgupt@codeaurora.org>
Increase the max supported slot ids to 16 in sensor.
CRs-Fixed: 2871214
Change-Id: I08910f2c34f70333bf25dbb31de5994c3beb7a8f
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
SHDR usecase doesn't report bubble to CRM, but we still
need to know whether it is processing bubble during
applying request, since we may haven't received the
reg update of the previous applied request, then
we have a chance to apply a new req to HW, this may
result in overflow issue. This change masks the
process_bubble for SHDR case during epoch in applied
sub state.
CRs-Fixed: 2948932
Change-Id: I699a2f59ea874693b78a918895db98727b95c634
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This change is to make Blair camera module dynamic.
CRs-Fixed: 2944976
Change-Id: I1af60fd3e1e607f52285d7abf30321ff6682149e
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Add camera config support for MONACO target.
CRs-Fixed: 2918290
Change-Id: I98ff2a0d540aa6a4fb5a31a8d26f7abe0750918d
Signed-off-by: Amit Somani <amitsm@codeaurora.org>
ICP driver is not releasing mutex in error scenario
in close sequence and causing deadlock further in open.
Fix the deadlock and avoid prints in other driver
while close in provider crash.
CRs-Fixed: 2938073
Change-Id: I226c9a8e9b2d0c30e90282b11fbd15ea0b085f87
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
Blair has different version of CPAS version which
requires camnoc interface changes and CPAS version
change. This change adds the same.
CRs-Fixed: 2944976
Change-Id: I700d99e52dacee9badcb2f66a7a295fb18771231
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Resource state is not proper during csid stop for PHY TPG hence stop
doesn't call for it.
Update the correct resource state during tpg start for PHY TPG.
CRs-Fixed: 2906168
Change-Id: Ib5fd05a380f6e1dbb303af23b7b0017d9f88c125
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>