Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfeb2352 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ais: sensor: flash: add conditional check for ioctl"

parents 216394a9 765a9ea8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1092,6 +1092,9 @@ static long msm_flash_subdev_do_ioctl(
			break;
		}
		break;
	case VIDIOC_MSM_FLASH_CFG:
		pr_err("invalid cmd 0x%x received\n", cmd);
		return -EINVAL;
	default:
		return msm_flash_subdev_ioctl(sd, cmd, arg);
	}