Skip to content

Commit

Permalink
Merge tag 'reset-fixes-for-4.18' of git://git.pengutronix.de/git/pza/…
Browse files Browse the repository at this point in the history
…linux into next/late

Reset controller fixes for v4.18

This tag fixes reset assertion on i.MX7 for all non-inverted reset
control bits. Currently only PCIE controller and PHY resets are used.

* tag 'reset-fixes-for-4.18' of git://git.pengutronix.de/git/pza/linux:
  reset: imx7: Fix always writing bits as 0

Signed-off-by: Olof Johansson <[email protected]>
  • Loading branch information
olofj committed Aug 24, 2018
2 parents c37aad3 + 26fce05 commit 5920cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/reset-imx7.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static int imx7_reset_set(struct reset_controller_dev *rcdev,
{
struct imx7_src *imx7src = to_imx7_src(rcdev);
const struct imx7_src_signal *signal = &imx7_src_signals[id];
unsigned int value = 0;
unsigned int value = assert ? signal->bit : 0;

switch (id) {
case IMX7_RESET_PCIEPHY:
Expand Down

0 comments on commit 5920cce

Please sign in to comment.