diag: Update masks to peripherals in workqueue context

The patch updates the logging masks to diag_id supported peripherals
in workqueue context after processing diag_id request control packet
for root pd and clears the mask_update variable after the peripheral
is updated with logging mask.

CRs-Fixed: 2147011
Change-Id: I948da01ca63bd98923c87cace3e35aedacc2482c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2 files changed