staging: media: atomisp: Removed a function entry log
Subsystems (4)
PATCH 1/1 staging: media: atomisp: Removed a function entry log
Removed a function entry log in ov2722_remove, as ftrace is a preferred method for function entry/exit tracing.
--- drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c +0 -2
@@ -1175,8 +1175,6 @@ static int ov2722_remove(struct i2c_client *client)struct v4l2_subdev *sd =i2c_get_clientdata (client);struct ov2722_device *dev =to_ov2722_sensor (sd); -dev_dbg (&client->dev,"ov2722_remove...\n" ); - dev->platform_data->csi_cfg (sd,0 );v4l2_ctrl_handler_free (&dev->ctrl_handler);v4l2_device_unregister_subdev (sd);
Signature · 1 line
2.31.1
Hi Martiros,
Thanks for the patch.
Quoted 4 lines · Martiros Shakhzadyan
Removed a function entry log in
ov2722_remove, as ftrace is a preferred method for function entry/exit tracing.Signed-off-by Martiros Shakhzadyan <[email protected]>
For this and your other atomisp patch:
Signature · 1 line
Sakari Ailus
Quoted 2 lines · Martiros Shakhzadyan
Removed a function entry log in
ov2722_remove, as ftrace is a preferred method for function entry/exit tracing.
It turns out that someone else already made the same fix [1], so marking this patch as obsolete.
There are quite a few atomisp patches pending for 5.13, so it might be a good idea to checkout the media subsystem master tree since that is more recent than mainline.
https://git.linuxtv.org/media_tree.git/
Regards,
Hans
[1]:
https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
Quoted 20 lines
Signed-off-by Martiros Shakhzadyan <[email protected]>--- drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 2 -- 1 file changed, 2 deletions(-)drivers/staging/media/atomisp/i2c/atomisp-ov2722.c +0
-2@@ -1175,8 +1175,6 @@ static int ov2722_remove(struct i2c_client *client)struct v4l2_subdev *sd =i2c_get_clientdata (client);struct ov2722_device *dev =to_ov2722_sensor (sd); -dev_dbg (&client->dev,"ov2722_remove...\n" ); - dev->platform_data->csi_cfg (sd,0 );v4l2_ctrl_handler_free (&dev->ctrl_handler);v4l2_device_unregister_subdev (sd);
Quoted 11 lines · Hans Verkuil
Quoted 2 lines · Martiros Shakhzadyan
Removed a function entry log in
ov2722_remove, as ftrace is a preferred method for function entry/exit tracing.It turns out that someone else already made the same fix [1], so marking this patch as obsolete.
There are quite a few atomisp patches pending for 5.13, so it might be a good idea to checkout the media subsystem master tree since that is more recent than mainline.
Quoted 9 lines
https://git.linuxtv.org/media_tree.git/
Regards,
Hans
[1]:
https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
Noted. I will continue to work off of that repo - Thanks!
Quoted 21 lines
Quoted 20 lines
Signed-off-by Martiros Shakhzadyan <[email protected]>--- drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 2 -- 1 file changed, 2 deletions(-)drivers/staging/media/atomisp/i2c/atomisp-ov2722.c +0
-2@@ -1175,8 +1175,6 @@ static int ov2722_remove(struct i2c_client *client)struct v4l2_subdev *sd =i2c_get_clientdata (client);struct ov2722_device *dev =to_ov2722_sensor (sd); -dev_dbg (&client->dev,"ov2722_remove...\n" ); - dev->platform_data->csi_cfg (sd,0 );v4l2_ctrl_handler_free (&dev->ctrl_handler);v4l2_device_unregister_subdev (sd);