Merge "msm: camera: common: Change shutdown sequence for subdevices" into camera-kernel.lnx.5.0

This commit is contained in:
Savita Patted
2021-07-07 09:54:21 -07:00
committed by Gerrit - the friendly Code Review server
40 changed files with 85 additions and 397 deletions

View File

@@ -31,7 +31,7 @@ static int cam_actuator_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_actuator_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_ACTUATOR);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_ACTUATOR,

View File

@@ -113,7 +113,7 @@ static int cam_csiphy_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_csiphy_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_CSIPHY);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_CSIPHY, "CRM is ACTIVE, close should be from CRM");

View File

@@ -31,7 +31,7 @@ static int cam_eeprom_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_eeprom_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_EEPROM);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_EEPROM, "CRM is ACTIVE, close should be from CRM");

View File

@@ -257,7 +257,7 @@ static int cam_flash_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_flash_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_FLASH);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_FLASH, "CRM is ACTIVE, close should be from CRM");

View File

@@ -31,7 +31,7 @@ static int cam_ois_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_ois_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_OIS);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_OIS, "CRM is ACTIVE, close should be from CRM");

View File

@@ -30,7 +30,7 @@ static int cam_sensor_subdev_close_internal(struct v4l2_subdev *sd,
static int cam_sensor_subdev_close(struct v4l2_subdev *sd,
struct v4l2_subdev_fh *fh)
{
bool crm_active = cam_req_mgr_is_open(CAM_SENSOR);
bool crm_active = cam_req_mgr_is_open();
if (crm_active) {
CAM_DBG(CAM_SENSOR, "CRM is ACTIVE, close should be from CRM");