Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4342696d authored by Blomme, Maarten's avatar Blomme, Maarten Committed by David S. Miller
Browse files

spi_ks8995: fix "BUG: key accdaa28 not in .data!"

parent 0253f268
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -498,6 +498,7 @@ static int ks8995_probe(struct spi_device *spi)
	if (err)
		return err;

	sysfs_attr_init(&ks->regs_attr.attr);
	err = sysfs_create_bin_file(&spi->dev.kobj, &ks->regs_attr);
	if (err) {
		dev_err(&spi->dev, "unable to create sysfs file, err=%d\n",