mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
media: intel/ipu6: Remove ipu6_buttress_ctrl started field
We assign to ->started field but newer read back, the field can be removed. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
c3d8e388ac
commit
be1534a2e7
|
|
@ -478,8 +478,6 @@ int ipu6_buttress_power(struct device *dev, struct ipu6_buttress_ctrl *ctrl,
|
|||
dev_err(&isp->pdev->dev,
|
||||
"Change power status timeout with 0x%x\n", val);
|
||||
|
||||
ctrl->started = !ret && on;
|
||||
|
||||
mutex_unlock(&isp->buttress.power_mutex);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ struct ipu6_buttress_ctrl {
|
|||
u32 freq_ctl, pwr_sts_shift, pwr_sts_mask, pwr_sts_on, pwr_sts_off;
|
||||
unsigned int ratio;
|
||||
unsigned int qos_floor;
|
||||
bool started;
|
||||
};
|
||||
|
||||
struct ipu6_buttress_ipc {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user