Re: [PATCH v7 6/6] i2c: add zhaoxin i2c controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,


@@ -67,6 +68,9 @@ struct viai2c {
  	ktime_t			t1;
  	ktime_t			t2;
  	int			platform;
+	u8			hrv;
+	u16			tr;
+	u16			mcr;
Hmm, since this is zhaoxin specific, what about adding

	void			*pltfm_priv;

and put 'hrv', 'tr', and 'mcr' to a struct 'viai2c_zhaoxin' local to
i2c-viai2c-zhaoxin.c and populate pltfm_priv with it?

Rest looks good so far...


will add it.

Hans,
Thank you






[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux