qcacld-3.0: Add PLD ATHDIAG read/write support

Add PLD wrapper for platform athdiag read/write.
HIF will call these two functions when a athdiag read/write
triggered from user space.

CRs-Fixed: 1061837
Change-Id: Ie34c634beaf1cd91e24eca1b7ce5b6444a60393e
This commit is contained in:
Yuanyuan Liu
2016-06-16 14:13:07 -07:00
committed by Gerrit - the friendly Code Review server
parent 0c21495a3f
commit 5ef6bfef5b
3 changed files with 100 additions and 0 deletions

View File

@@ -390,4 +390,9 @@ void pld_lock_pm_sem(struct device *dev);
void pld_release_pm_sem(struct device *dev);
int pld_power_on(struct device *dev);
int pld_power_off(struct device *dev);
int pld_athdiag_read(struct device *dev, uint32_t offset, uint32_t memtype,
uint32_t datalen, uint8_t *output);
int pld_athdiag_write(struct device *dev, uint32_t offset, uint32_t memtype,
uint32_t datalen, uint8_t *input);
#endif