Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325436
b: refs/heads/master
c: 463bf50
h: refs/heads/master
v: v3
  • Loading branch information
Radhesh Fadnis authored and Greg Kroah-Hartman committed Sep 21, 2012
1 parent 9310683 commit 957ac57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cbf7d122cc50bd88cb9fd745c8341a009de0796d
refs/heads/master: 463bf503bdab90bf269ad2a70656fe8536ff4933
2 changes: 1 addition & 1 deletion trunk/drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static int temp_to_adc_conversion(long temp, struct omap_bandgap *bg_ptr, int i,
high = ts_data->adc_end_val - ts_data->adc_start_val;
mid = (high + low) / 2;

if (temp < bg_ptr->conv_table[high] || temp > bg_ptr->conv_table[high])
if (temp < bg_ptr->conv_table[low] || temp > bg_ptr->conv_table[high])
return -EINVAL;

while (low < high) {
Expand Down

0 comments on commit 957ac57

Please sign in to comment.