dmaengine: qcom_hidma: correct overriding message
authorSinan Kaya <okaya@codeaurora.org>
Sun, 16 Jul 2017 14:30:37 +0000 (10:30 -0400)
committerVinod Koul <vinod.koul@intel.com>
Wed, 19 Jul 2017 04:08:55 +0000 (09:38 +0530)
commit0217cccdbfb71bfa9482c323a380cedebcd96e41
treee2e7f5d228d2e8d0045352fd25f3e1f118f665fd
parent5e2db086be4fc77c7715297ffdf929e7a8a55041
dmaengine: qcom_hidma: correct overriding message

A false overriding information is being presented during boot
under this scenario.

1. First object checks for kernel command line value against zero.
2. It doesn't find it, it sets the command line variable to the
value coming from ACPI/DT.
3. Second object is being probed.
4. Second object sees that the value of kernel command line
override is non-zero, it prints an overriding message even though
value matches ACPI/DT value.

hidma-mgmt QCOM8060:03: overriding max-write-burst-bytes: 1024

Add an additional check to verify that kernel command line value
is different from the ACPI/DT value.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/hidma_mgmt.c