mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
media: i2c: maxim: driver version v3.09.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com> Change-Id: I0ac1c3faf127c196a3154d188d6c307d3f0043c5
This commit is contained in:
@@ -60,6 +60,10 @@
|
||||
* 1. wait link lock stable when hot plug is detected
|
||||
* 2. link get lock state retry if i2c error
|
||||
*
|
||||
* V3.09.00
|
||||
* 1. if remote camera not connected, hot plug state check timer working,
|
||||
* fix the issue of mutex deadlock when stream off.
|
||||
*
|
||||
*/
|
||||
#include <linux/clk.h>
|
||||
#include <linux/i2c.h>
|
||||
@@ -87,7 +91,7 @@
|
||||
|
||||
#include "maxim2c_api.h"
|
||||
|
||||
#define DRIVER_VERSION KERNEL_VERSION(3, 0x08, 0x00)
|
||||
#define DRIVER_VERSION KERNEL_VERSION(3, 0x09, 0x00)
|
||||
|
||||
#define MAXIM2C_NAME "maxim2c"
|
||||
|
||||
|
||||
@@ -761,7 +761,7 @@ static int __maxim2c_stop_stream(maxim2c_t *maxim2c)
|
||||
disable_irq(maxim2c->hot_plug_irq);
|
||||
|
||||
if (maxim2c->hot_plug_work.state_check_wq)
|
||||
cancel_delayed_work_sync(&maxim2c->hot_plug_work.state_d_work);
|
||||
cancel_delayed_work(&maxim2c->hot_plug_work.state_d_work);
|
||||
|
||||
ret |= maxim2c_mipi_csi_output(maxim2c, false);
|
||||
ret |= maxim2c_mipi_txphy_enable(maxim2c, false);
|
||||
|
||||
@@ -83,6 +83,10 @@
|
||||
* 1. wait link lock stable when hot plug is detected
|
||||
* 2. link get lock state retry if i2c error
|
||||
*
|
||||
* V3.09.00
|
||||
* 1. if remote camera not connected, hot plug state check timer working,
|
||||
* fix the issue of mutex deadlock when stream off.
|
||||
*
|
||||
*/
|
||||
#include <linux/clk.h>
|
||||
#include <linux/i2c.h>
|
||||
@@ -110,7 +114,7 @@
|
||||
|
||||
#include "maxim4c_api.h"
|
||||
|
||||
#define DRIVER_VERSION KERNEL_VERSION(3, 0x08, 0x00)
|
||||
#define DRIVER_VERSION KERNEL_VERSION(3, 0x09, 0x00)
|
||||
|
||||
#define MAXIM4C_NAME "maxim4c"
|
||||
|
||||
|
||||
@@ -761,7 +761,7 @@ static int __maxim4c_stop_stream(maxim4c_t *maxim4c)
|
||||
disable_irq(maxim4c->hot_plug_irq);
|
||||
|
||||
if (maxim4c->hot_plug_work.state_check_wq)
|
||||
cancel_delayed_work_sync(&maxim4c->hot_plug_work.state_d_work);
|
||||
cancel_delayed_work(&maxim4c->hot_plug_work.state_d_work);
|
||||
|
||||
ret |= maxim4c_mipi_csi_output(maxim4c, false);
|
||||
ret |= maxim4c_mipi_txphy_enable(maxim4c, false);
|
||||
|
||||
Reference in New Issue
Block a user