platform : msm-geni-se: fix voting unit for bus bandwidth

Bandwidth vote values were being applied as Bytes-per-second but
the interconnect framework expects Kilobytes-per-second units. Fix
the error by using unit conversion macros provided by the
interconnect interface.

Change-Id: If2e921b7213e7f61459930b9739c6fa0c0257bf9
Signed-off-by: Mukesh Kumar Savaliya <[email protected]>
Signed-off-by: Akash Asthana <[email protected]>
This commit is contained in:
Mukesh Kumar Savaliya 2020-04-13 23:42:53 +05:30 • committed by Akash Asthana
commit 87170d10b3
6 changed files with 9 additions and 11 deletions

View file

@ -189,9 +189,6 @@ enum geni_i3c_err_code {
#define PACKING_BYTES_PW 4
#define XFER_TIMEOUT HZ
#define DFS_INDEX_MAX 7
#define I3C_CORE2X_VOTE (960)
#define DEFAULT_BUS_WIDTH (4)
#define DEFAULT_SE_CLK (19200000)
#define I3C_DDR_READ_CMD BIT(7)
#define I3C_ADDR_MASK 0x7f