msm: camera: add/update debug macros and dynamic group selection

Add/updte common logging debug macros, and add dynamic group
selection in order to choose debugging module/modules at runtime.

Sysfs entry can be found under
/sys/module/cam_debug_util/parameters/

Sysfs entry usage with root privilege:
- adb root
- adb remount
- adb shell "echo 0x(module/modules_flag)/Decimal_value >
   "/sys/module/cam_debug_util/parameters/debug_mdl"

CRs-Fixed: 2056624
Change-Id: Ifc093a0f290e110466f4a03b7bbd4d3dea06f571
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2 files changed