"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "drivers/hwmon/pmbus/pmbus.c" between
linux-3.16.62.tar.xz and linux-3.16.63.tar.xz

About: The full source of the Linux kernel 3.16.x (longterm stable)

pmbus.c  (linux-3.16.62.tar.xz):pmbus.c  (linux-3.16.63.tar.xz)
skipping to change at line 120 skipping to change at line 120
for (page = 1; page < PMBUS_PAGES; page++) { for (page = 1; page < PMBUS_PAGES; page++) {
if (pmbus_set_page(client, page) < 0) if (pmbus_set_page(client, page) < 0)
break; break;
} }
pmbus_set_page(client, 0); pmbus_set_page(client, 0);
info->pages = page; info->pages = page;
} else { } else {
info->pages = 1; info->pages = 1;
} }
pmbus_clear_faults(client);
} }
if (pmbus_check_byte_register(client, 0, PMBUS_VOUT_MODE)) { if (pmbus_check_byte_register(client, 0, PMBUS_VOUT_MODE)) {
int vout_mode; int vout_mode;
vout_mode = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE); vout_mode = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE);
if (vout_mode >= 0 && vout_mode != 0xff) { if (vout_mode >= 0 && vout_mode != 0xff) {
switch (vout_mode >> 5) { switch (vout_mode >> 5) {
case 0: case 0:
break; break;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)