soundwire: intel: fix inversion in devm_kcalloc parameters
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 11 Apr 2019 03:16:57 +0000 (22:16 -0500)
committerVinod Koul <vkoul@kernel.org>
Sun, 14 Apr 2019 10:03:26 +0000 (15:33 +0530)
commit4ac5627acc3e32c6a2acf5d570efc998792f2a65
treeaa6c4326371c8294778f3ffb0d9ba5b234cac40f
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
soundwire: intel: fix inversion in devm_kcalloc parameters

the number of elements and size are inverted, fix.

This probably only worked because the number of properties is
hard-coded to 1.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c