Exhibit 23.1 CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We consent to the incorporation by reference in the Registration Statements (Form S-8 Nos. 33-8306, 33-27367, 33-37432, 333-40595, 33-57330, 33-58745, 333-84149, 333-60946 and 333-102542) pertaining to the 1986 Employee Stock Purchase Plan, 1981 Incentive Stock Option Plan, 1988 Incentive Stock Option Plan, 1996 Incentive Stock Option Plan, and 2001 Nonstatutory Stock Option Plan and Form of Stock Option Agreement of Linear Technology Corporation of our report dated July 20, 2004, with respect to the consolidated financial statements and schedule of Linear Technology Corporation included in this Annual Report (Form 10-K) for the year ended June 27, 2004. /s/ Ernst & Young LLP San Jose, California September 3, 2004 41