Merge "soc: qcom: rpm_rail_stats: Add support for lpcx and lpmx rail stats"
This commit is contained in:
commit
3ca63be946
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include "rpm_stats.h"
|
#include "rpm_stats.h"
|
||||||
|
|
||||||
#define RPM_RAIL_BUF_LEN 600
|
#define RPM_RAIL_BUF_LEN 1300
|
||||||
|
|
||||||
#define SNPRINTF(buf, size, format, ...) \
|
#define SNPRINTF(buf, size, format, ...) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -118,7 +118,7 @@ static int msm_rpm_rail_type_copy(void __iomem **base, char **buf, int count)
|
||||||
rail[NAMELEN - 1] = '\0';
|
rail[NAMELEN - 1] = '\0';
|
||||||
memcpy(rail, &rt.rail, NAMELEN - 1);
|
memcpy(rail, &rt.rail, NAMELEN - 1);
|
||||||
SNPRINTF(*buf, count,
|
SNPRINTF(*buf, count,
|
||||||
"\trail:%-2s num_corners:%-2u current_corner:%-2u last_entered:%-8u\n",
|
"\trail:%-2s \tnum_corners:%-2u current_corner:%-2u last_entered:%-8u\n",
|
||||||
rail, rt.num_corners, rt.current_corner, rt.last_entered);
|
rail, rt.num_corners, rt.current_corner, rt.last_entered);
|
||||||
|
|
||||||
*base += sizeof(rt);
|
*base += sizeof(rt);
|
||||||
|
|
Loading…
Add table
Reference in a new issue