RE: [PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support

2016-09-02 Thread Khiem Nguyen
Hi Morimoto-san,   Thanks for your comments. > > +int _linear_temp_converter(struct equation_coefs coef, > > + int temp_code) > > +{ > > + int temp, temp1, temp2; > > + > > + temp1 = MCELSIUS((CODETSD(temp_code) - coef.b1)) / coef.a1; > > + temp2 =

RE: [PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support

2016-09-02 Thread Khiem Nguyen
Hi Morimoto-san,   Thanks for your comments. > > +int _linear_temp_converter(struct equation_coefs coef, > > + int temp_code) > > +{ > > + int temp, temp1, temp2; > > + > > + temp1 = MCELSIUS((CODETSD(temp_code) - coef.b1)) / coef.a1; > > + temp2 =

Re: [PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support

2016-06-19 Thread Kuninori Morimoto
Hi Khiem-san Thank you for your patch > +int _linear_temp_converter(struct equation_coefs coef, > + int temp_code) > +{ > + int temp, temp1, temp2; > + > + temp1 = MCELSIUS((CODETSD(temp_code) - coef.b1)) / coef.a1; > + temp2 =

Re: [PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support

2016-06-19 Thread Kuninori Morimoto
Hi Khiem-san Thank you for your patch > +int _linear_temp_converter(struct equation_coefs coef, > + int temp_code) > +{ > + int temp, temp1, temp2; > + > + temp1 = MCELSIUS((CODETSD(temp_code) - coef.b1)) / coef.a1; > + temp2 =