🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: org.kernel.vger.linux-pwm
1 messages
1 total messages Started by Dmitry Torokhov Tue, 06 May 2025 05:14
Re: [PATCH v7 09/11] input: keyboard: Add support for MAX7360 keypad
#1
Author: Dmitry Torokhov
Date: Tue, 06 May 2025 05:14
21 lines
6736 bytes
On Fri, May 02, 2025 at 01:46:35PM +0300, Andy Shevchenko wrote:
> On Mon, Apr 28, 2025 at 01:57:27PM +0200, Mathieu Dubois-Briand wrote:
> > +	error = matrix_keypad_build_keymap(&keymap_data, NULL,
> > +					   max7360_keypad->rows, max7360_keypad->cols,
> > +					   max7360_keypad->keycodes, max7360_keypad->input);
> > +
> > +	return error;
> 
> 	return matrix_...(...);

Because that function has multiple failure points please

	if (error)
		return error; // or return dev_err_probe()

	return 0;

Thanks.

-- 
Dmitry
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads