wusb: add debug files for ASL, PZL and DI to the whci-hcd driver
Add asl, pzl and di debugfs files to uwb/uwbN/wusbhc for WHCI host controller. These dump the current ASL, PZL and DI buffer. Signed-off-by: David Vrabel <david.vrabel@csr.com>
This commit is contained in:
@ -273,6 +273,8 @@ static int whc_probe(struct umc_dev *umc)
|
||||
goto error_wusbhc_b_create;
|
||||
}
|
||||
|
||||
whc_dbg_init(whc);
|
||||
|
||||
return 0;
|
||||
|
||||
error_wusbhc_b_create:
|
||||
@ -296,6 +298,7 @@ static void whc_remove(struct umc_dev *umc)
|
||||
struct whc *whc = wusbhc_to_whc(wusbhc);
|
||||
|
||||
if (usb_hcd) {
|
||||
whc_dbg_clean_up(whc);
|
||||
wusbhc_b_destroy(wusbhc);
|
||||
usb_remove_hcd(usb_hcd);
|
||||
wusbhc_destroy(wusbhc);
|
||||
|
Reference in New Issue
Block a user