Bug in cs89x0.c?
From: Guennadi Liakhovetski <hidden>
Date: 2008-03-28 15:08:53
From: Guennadi Liakhovetski <hidden>
Date: 2008-03-28 15:08:53
Hi Do I understand it right, that this 705: i = readreg(dev, PP_LineCTL); 706: /* Preserve the setting of the HCB1 pin. */ 707: if ((i & (HCB1 | HCB1_ENBL)) == (HCB1 | HCB1_ENBL)) 708: lp->adapter_cnf |= A_CNF_DC_DC_POLARITY; (line numbers may deviate slightly) is a bug? HCB1 and HCB1_ENBL bits are from the PP_SelfCTL and not from the PP_LineCTL register... Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de