From: Pierre-Louis Bossart Date: Wed, 1 May 2019 15:57:34 +0000 (-0500) Subject: soundwire: mipi_disco: fix boolean comparisons X-Git-Tag: v5.15~6449^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00910f3cb0c59f0d9c5acf2f85395b2af7955526;p=platform%2Fkernel%2Flinux-starfive.git soundwire: mipi_disco: fix boolean comparisons No need for explicit test against true Reviewed-by: Takashi Iwai Signed-off-by: Pierre-Louis Bossart Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/soundwire/mipi_disco.c b/drivers/soundwire/mipi_disco.c index 95efa82..2bf4046 100644 --- a/drivers/soundwire/mipi_disco.c +++ b/drivers/soundwire/mipi_disco.c @@ -49,11 +49,11 @@ int sdw_master_read_prop(struct sdw_bus *bus) } if (fwnode_property_read_bool(link, - "mipi-sdw-clock-stop-mode0-supported") == true) + "mipi-sdw-clock-stop-mode0-supported")) prop->clk_stop_mode = SDW_CLK_STOP_MODE0; if (fwnode_property_read_bool(link, - "mipi-sdw-clock-stop-mode1-supported") == true) + "mipi-sdw-clock-stop-mode1-supported")) prop->clk_stop_mode |= SDW_CLK_STOP_MODE1; fwnode_property_read_u32(link,