[RFC,01/11] fixup! DNI: Debug
diff mbox series

Message ID 20191216171620.372683-2-jacopo+renesas@jmondi.org
State New
Delegated to: Kieran Bingham
Headers show
Series
  • GMSL: Initial RDACM21 support
Related show

Commit Message

Jacopo Mondi Dec. 16, 2019, 5:16 p.m. UTC
---
 drivers/media/i2c/max9286.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kieran Bingham Dec. 16, 2019, 10:34 p.m. UTC | #1
Hi Jacopo,

On 16/12/2019 17:16, Jacopo Mondi wrote:
> ---
>  drivers/media/i2c/max9286.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, I've squashed this onto my branch.
--
Kieran

> 
> diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c
> index cb327c030081..ab84f0fa66dc 100644
> --- a/drivers/media/i2c/max9286.c
> +++ b/drivers/media/i2c/max9286.c
> @@ -912,7 +912,7 @@ static int max9286_gpio_get(struct gpio_chip *chip, unsigned int offset)
>  	struct max9286_priv *priv = gpiochip_get_data(chip);
>  
>  	dev_err(&priv->client->dev,
> -		"GPIOSET: Offset %d, Value %d gpio_state = 0x%lx",
> +		"GPIOSET: Offset %d, Value %ld gpio_state = 0x%lx",
>  		offset, priv->gpio_state & BIT(offset),
>  		MAX9286_0X0F_RESERVED | priv->gpio_state);
>  
>

Patch
diff mbox series

diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c
index cb327c030081..ab84f0fa66dc 100644
--- a/drivers/media/i2c/max9286.c
+++ b/drivers/media/i2c/max9286.c
@@ -912,7 +912,7 @@  static int max9286_gpio_get(struct gpio_chip *chip, unsigned int offset)
 	struct max9286_priv *priv = gpiochip_get_data(chip);
 
 	dev_err(&priv->client->dev,
-		"GPIOSET: Offset %d, Value %d gpio_state = 0x%lx",
+		"GPIOSET: Offset %d, Value %ld gpio_state = 0x%lx",
 		offset, priv->gpio_state & BIT(offset),
 		MAX9286_0X0F_RESERVED | priv->gpio_state);