staging: ti-soc-thermal: Enable HISTORY_BUFFER Feature for OMAP5
authorJ Keerthy <j-keerthy@ti.com>
Mon, 1 Apr 2013 16:04:44 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Apr 2013 19:27:30 +0000 (12:27 -0700)
This patch enables the HISTORY_BUFFER eature for OMAP5.

Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ti-soc-thermal/omap5-thermal-data.c

index 460a3b25aefb380c9d8c85b7966ebdf98af74d5f..f170211c6e2fd1124b6847f0e5f1cd9d633dbea1 100644 (file)
@@ -319,7 +319,8 @@ const struct ti_bandgap_data omap5430_data = {
        .features = TI_BANDGAP_FEATURE_TSHUT_CONFIG |
                        TI_BANDGAP_FEATURE_FREEZE_BIT |
                        TI_BANDGAP_FEATURE_TALERT |
-                       TI_BANDGAP_FEATURE_COUNTER_DELAY,
+                       TI_BANDGAP_FEATURE_COUNTER_DELAY |
+                       TI_BANDGAP_FEATURE_HISTORY_BUFFER,
        .fclock_name = "l3instr_ts_gclk_div",
        .div_ck_name = "l3instr_ts_gclk_div",
        .conv_table = omap5430_adc_to_temp,