diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-09-07 00:46:04 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-07 00:46:04 -0700 |
| commit | 7edaca927dd89cde7d6342c135f0ced29ae560d0 (patch) | |
| tree | 4b77ccd027016e830fdd5267c4e91fd241bde3e2 | |
| parent | 329b7b4c990e977ab88f6d480461dfb76068d4bd (diff) | |
| parent | a5464d3b72ca879db839777fc1e916779dea5979 (diff) | |
Merge "diag: Support buffering mode for non-diag_id peripherals"
| -rw-r--r-- | drivers/char/diag/diagfwd_cntl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/char/diag/diagfwd_cntl.c b/drivers/char/diag/diagfwd_cntl.c index 74777212e4cf..10038e629e6c 100644 --- a/drivers/char/diag/diagfwd_cntl.c +++ b/drivers/char/diag/diagfwd_cntl.c @@ -1119,6 +1119,18 @@ void diag_map_pd_to_diagid(uint8_t pd, uint8_t *diag_id, int *peripheral) *diag_id = DIAG_ID_LPASS; *peripheral = PERIPHERAL_LPASS; break; + case PERIPHERAL_WCNSS: + *diag_id = 0; + *peripheral = PERIPHERAL_WCNSS; + break; + case PERIPHERAL_SENSORS: + *diag_id = 0; + *peripheral = PERIPHERAL_SENSORS; + break; + case PERIPHERAL_WDSP: + *diag_id = 0; + *peripheral = PERIPHERAL_WDSP; + break; case PERIPHERAL_CDSP: *diag_id = DIAG_ID_CDSP; *peripheral = PERIPHERAL_CDSP; |
