Re: [PATCH] soc/tegra: pmc: Add reboot notifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 18/11/2021 19:13, Dmitry Osipenko wrote:
15.11.2021 14:32, Jon Hunter пишет:
-static int tegra_pmc_restart_notify(struct notifier_block *this,
-				    unsigned long action, void *data)
+static void tegra_pmc_program_reboot_reason(const char *cmd)
  {
-	const char *cmd = data;
  	u32 value;
+ if (!cmd)
+		return;

There is no explanation of this change in the commit message. Previously
scratch register was cleared if command is NULL, now it's not. Why?


No reason, just an oversight on my part. I can change this back to keep the behaviour the same.

Jon

--
nvpublic



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux