mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
spi_qsd: Correct an error reporting check
When reading values from the device tree, the error check on BAM producer pipe must be negated. Change-Id: Ia766cabdde47390c5a3c79b1c98a704e695fc571 Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
This commit is contained in:
parent
d10f7f95c5
commit
c0465dcdd1
1 changed files with 1 additions and 1 deletions
|
@ -2719,7 +2719,7 @@ struct msm_spi_platform_data * __init msm_spi_dt_to_pdata(
|
|||
pdata->use_bam = false;
|
||||
}
|
||||
|
||||
if (pdata->bam_producer_pipe_index) {
|
||||
if (!pdata->bam_producer_pipe_index) {
|
||||
dev_warn(&pdev->dev,
|
||||
"missing qcom,bam-producer-pipe-index entry in device-tree\n");
|
||||
pdata->use_bam = false;
|
||||
|
|
Loading…
Reference in a new issue