Skip to content

Commit

Permalink
[rda_dsp_aud] fix gpio files permissions for prevent warn on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
DD1984 committed May 13, 2018
1 parent 639aced commit d7089f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sound/soc/rda/rda_dsp_aud.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,17 @@ static ssize_t rdabp_gpio_enable_irq_store(struct device *dev,
return count;
}

static DEVICE_ATTR(gpio_open, 0777,
static DEVICE_ATTR(gpio_open, 0333,
NULL, rdabp_gpio_open_store);
static DEVICE_ATTR(gpio_close,0777,
static DEVICE_ATTR(gpio_close,0333,
NULL, rdabp_gpio_close_store);
static DEVICE_ATTR(gpio_set_io, 0777,
static DEVICE_ATTR(gpio_set_io, 0333,
NULL,rdabp_gpio_set_io_store);
static DEVICE_ATTR(gpio_get_value, 0777,
static DEVICE_ATTR(gpio_get_value, 0333,
NULL,rdabp_gpio_get_value_store);
static DEVICE_ATTR(gpio_set_value, 0777,
static DEVICE_ATTR(gpio_set_value, 0333,
NULL,rdabp_gpio_set_value_store);
static DEVICE_ATTR(gpio_enable_irq, 0777,
static DEVICE_ATTR(gpio_enable_irq, 0333,
NULL,rdabp_gpio_enable_irq_store);


Expand Down

0 comments on commit d7089f4

Please sign in to comment.